WordGPT

Royal blue color (#4169E1)

#4169E1 (Royal blue) is a blue colour. It is rgb(65, 105, 225) in RGB and hsl(225, 73%, 57%) in HSL. Text in white reads better on it: the contrast is 4.85:1 against white and 4.33:1 against black.

#4169E1
Royal blue: #4169E1
Complementary#4169E1#E1B941Analogous#41B9E1#4169E1#6941E1Triadic#4169E1#E14169#69E141Tetradic (square)#4169E1#E141B9#E1B941#41E169Split complementary#4169E1#E16941#B9E141
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
0b112516234b2135712b46963658bc4169e16182e6809beba0b4f0c0cdf5dfe6fa
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#4169E1}:\quad R=\mathrm{41}_{16}=65,\ G=\mathrm{69}_{16}=105,\ B=\mathrm{E1}_{16}=225
  2. 2

    HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.

    H=225∘,S=73%,L=57%H=225^\circ,\quad S=73\%,\quad L=57\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    225^\circ + 180^\circ = 45^\circ ;\Rightarrow; \mathrm{#E1B941}
  4. 4

    Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).

    contrast=L1+0.05L2+0.05=4.85:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.85:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#4169E1} = \mathrm{rgb}(65, 105, 225) \]
\[ \mathrm{#4169E1}:\quad R=\mathrm{41}_{16}=65,\ G=\mathrm{69}_{16}=105,\ B=\mathrm{E1}_{16}=225 \]
\[ H=225^\circ,\quad S=73\%,\quad L=57\% \]
\[ 225^\circ + 180^\circ = 45^\circ ;\Rightarrow; \mathrm{#E1B941} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.85:1\ \text{(on white)} \]

Royal blue in every colour format

FormatValue
HEX#4169E1
RGBrgb(65, 105, 225)
RGB (percent)rgb(25.5%, 41.2%, 88.2%)
HSLhsl(225, 73%, 57%)
HSV / HSBhsv(225, 71%, 88%)
CMYKcmyk(71%, 53%, 0%, 12%)
Decimal4286945
Descriptionblue
CSS nameroyalblue

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text4.85:1passpassfailpass
Black text4.33:1failpassfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#0B1125 #16234B #213571 #2B4696 #3658BC
This colour#4169E1
Tints (mixed with white)#6182E6 #809BEB #A0B4F0 #C0CDF5 #DFE6FA

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#0879E514
Deuteranopia#006ADF7
Tritanopia#00869B67
Grayscale#717171-

Nearest named colours

NameHex
Slate blue#6A5ACD
Medium slate blue#7B68EE
Medium purple#9370DB
Dodger blue#1E90FF

Questions

What is the RGB value of #4169E1?

rgb(65, 105, 225): red 65, green 105, blue 225.

What is the HSL value of #4169E1?

hsl(225, 73%, 57%): a hue of 225°, 73% saturation and 57% lightness.

What is the complementary colour of #4169E1?

#E1B941, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #BE961E.

Should I use white or black text on #4169E1?

White. White gives 4.85:1 and black 4.33:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #4169E1?

cmyk(71%, 53%, 0%, 12%). This is a simple formula conversion; printed colours depend on the printer profile.

Is #4169E1 a named colour?

Yes: it is the CSS colour name "royalblue".

Matching colours

A little darker, a little lighter

Make a palette

    Royal blue (#4169E1): color code, RGB, HSL, shades and palettes | WordGPT