#4781E1#4781E1
#4781E1 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.2% C 0.158 H 259.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4781E1 |
|---|---|
| RGB | rgb(71, 129, 225) |
| HSL | hsl(217, 72%, 58%) |
| HSV | hsv(217, 68%, 88%) |
| CMYK | cmyk(68.4%, 42.7%, 0%, 11.8%) |
| CIE-LAB | lab(54.53, 12.19, -54.47) |
| CIE-LCH | lch(54.53, 55.82, 282.61°) |
| OKLab | oklab(61.17% -0.0277 -0.1556) |
| OKLCH | oklch(61.17% 0.158 259.9) |
| XYZ | xyz(24.0345, 22.4739, 74.2908) |
| Luminance | 0.2248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.75
Azure
#007FFF
ΔE00 3.22
Clear Blue
#247AFD
ΔE00 3.38
Lightish Blue
#3D7AFD
ΔE00 3.84
Deep Sky Blue
#0D75F8
ΔE00 4.49
Soft Blue
#6488EA
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4781E1 #E1A747
analogous
#47CEE1 #4781E1 #5A47E1
triadic
#4781E1 #E14781 #81E147
tetradic
#4781E1 #E147CE #E1A747 #47E15A
square
#4781E1 #E147CE #E1A747 #47E15A
split-complementary
#4781E1 #E15A47 #CEE147
monochromatic
#184795 #2161CA #4781E1 #7CA5EA #B0C9F2
Accessibility & contrast
On white
3.82
#4781E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#4781E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4781E1
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4781E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4781E1 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538AE5
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4781e1; /* rgb */ color: rgb(71, 129, 225); /* oklch */ color: oklch(61.2% 0.158 259.9);
Tailwind
colors: {
custom: {
50: '#8ba5eb',
500: '#4781e1',
950: '#000000',
},
}SCSS
$custom: #4781e1; $custom-light: #8ba5eb; $custom-dark: #000000;
JSON
{
"hex": "#4781e1",
"rgb": {
"r": 71,
"g": 129,
"b": 225
},
"hsl": {
"h": 217.403,
"s": 71.963,
"l": 58.039
},
"oklch": {
"l": 0.61172,
"c": 0.15808,
"h": 259.9
},
"luminance": 0.22476
}Semantic roles & 50–950 ramp
primary
#4781E1
secondary
#E1C9A3
accent
#AA39EF
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84