#5F91EA#5F91EA
#5F91EA is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.2% C 0.144 H 261.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5F91EA |
|---|---|
| RGB | rgb(95, 145, 234) |
| HSL | hsl(218, 77%, 65%) |
| HSV | hsv(218, 59%, 92%) |
| CMYK | cmyk(59.4%, 38%, 0%, 8.2%) |
| CIE-LAB | lab(60.45, 9.75, -50.00) |
| CIE-LCH | lch(60.45, 50.94, 281.03°) |
| OKLab | oklab(66.2% -0.0221 -0.1419) |
| OKLCH | oklch(66.2% 0.144 261.2) |
| XYZ | xyz(29.6908, 28.6216, 81.7858) |
| Luminance | 0.2862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.29
Soft Blue
#6488EA
ΔE00 3.58
Dark Sky Blue
#448EE4
ΔE00 3.92
Dodger Blue
#3E82FC
ΔE00 4.99
Dodgerblue
#1E90FF
ΔE00 5.11
Faded Blue
#658CBB
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F91EA #EAB85F
analogous
#5FD7EA #5F91EA #725FEA
triadic
#5F91EA #EA5F91 #91EA5F
tetradic
#5F91EA #EA5FD7 #EAB85F #5FEA72
square
#5F91EA #EA5FD7 #EAB85F #5FEA72
split-complementary
#5F91EA #EA725F #D7EA5F
monochromatic
#1851B7 #296CE3 #5F91EA #95B6F1 #CBDBF8
Accessibility & contrast
On white
3.12
#5F91EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#5F91EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F91EA
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F91EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F91EA | 1.00 | 3.12 | 6.72 | 6.72 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#00A5B2
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5f91ea; /* rgb */ color: rgb(95, 145, 234); /* oklch */ color: oklch(66.2% 0.144 261.2);
Tailwind
colors: {
custom: {
50: '#97b0f1',
500: '#5f91ea',
950: '#000000',
},
}SCSS
$custom: #5f91ea; $custom-light: #97b0f1; $custom-dark: #000000;
JSON
{
"hex": "#5f91ea",
"rgb": {
"r": 95,
"g": 145,
"b": 234
},
"hsl": {
"h": 218.417,
"s": 76.796,
"l": 64.51
},
"oklch": {
"l": 0.662,
"c": 0.14363,
"h": 261.2
},
"luminance": 0.28624
}Semantic roles & 50–950 ramp
primary
#5F91EA
secondary
#EAD9BA
accent
#8F0CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85