#4181EA#4181EA
#4181EA is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.172 H 259.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4181EA |
|---|---|
| RGB | rgb(65, 129, 234) |
| HSL | hsl(217, 80%, 59%) |
| HSV | hsv(217, 72%, 92%) |
| CMYK | cmyk(72.2%, 44.9%, 0%, 8.2%) |
| CIE-LAB | lab(54.83, 14.54, -59.04) |
| CIE-LCH | lch(54.83, 60.80, 283.84°) |
| OKLab | oklab(61.51% -0.0304 -0.1691) |
| OKLCH | oklch(61.51% 0.172 259.8) |
| XYZ | xyz(24.8761, 22.7621, 80.9084) |
| Luminance | 0.2276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.97
Azure
#007FFF
ΔE00 2.49
Clear Blue
#247AFD
ΔE00 2.80
Lightish Blue
#3D7AFD
ΔE00 3.38
Deep Sky Blue
#0D75F8
ΔE00 4.19
Soft Blue
#6488EA
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4181EA #EAAA41
analogous
#41D6EA #4181EA #5541EA
triadic
#4181EA #EA4181 #81EA41
tetradic
#4181EA #EA41D6 #EAAA41 #41EA55
square
#4181EA #EA41D6 #EAAA41 #41EA55
split-complementary
#4181EA #EA5541 #D6EA41
monochromatic
#12479F #1860D6 #4181EA #78A6F0 #AFCAF6
Accessibility & contrast
On white
3.78
#4181EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#4181EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4181EA
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4181EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4181EA | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#009AAA
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4181ea; /* rgb */ color: rgb(65, 129, 234); /* oklch */ color: oklch(61.5% 0.172 259.8);
Tailwind
colors: {
custom: {
50: '#8aa4f1',
500: '#4181ea',
950: '#000000',
},
}SCSS
$custom: #4181ea; $custom-light: #8aa4f1; $custom-dark: #000000;
JSON
{
"hex": "#4181ea",
"rgb": {
"r": 65,
"g": 129,
"b": 234
},
"hsl": {
"h": 217.278,
"s": 80.095,
"l": 58.627
},
"oklch": {
"l": 0.61511,
"c": 0.17185,
"h": 259.8
},
"luminance": 0.22765
}Semantic roles & 50–950 ramp
primary
#4181EA
secondary
#E5CCA2
accent
#AC31F7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F17
muted
#7E7F85