#5F74E9#5F74E9
#5F74E9 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.177 H 272.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5F74E9 |
|---|---|
| RGB | rgb(95, 116, 233) |
| HSL | hsl(231, 76%, 64%) |
| HSV | hsv(231, 59%, 91%) |
| CMYK | cmyk(59.2%, 50.2%, 0%, 8.6%) |
| CIE-LAB | lab(52.74, 26.91, -61.76) |
| CIE-LCH | lch(52.74, 67.37, 293.55°) |
| OKLab | oklab(60.28% 0.0073 -0.1768) |
| OKLCH | oklch(60.28% 0.177 272.4) |
| XYZ | xyz(25.6678, 20.8048, 79.7381) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.93
Cornflower Blue
#5170D7
ΔE00 3.63
Lightish Blue
#3D7AFD
ΔE00 5.07
Royal Blue
#4169E1
ΔE00 5.27
Clear Blue
#247AFD
ΔE00 6.62
Soft Blue
#6488EA
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F74E9 #E9D45F
analogous
#5FB9E9 #5F74E9 #8F5FE9
triadic
#5F74E9 #E95F74 #74E95F
tetradic
#5F74E9 #E95FB9 #E9D45F #5FE98F
square
#5F74E9 #E95FB9 #E9D45F #5FE98F
split-complementary
#5F74E9 #E98F5F #B9E95F
monochromatic
#1931B5 #2945E2 #5F74E9 #95A3F0 #CBD1F8
Accessibility & contrast
On white
4.07
#5F74E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#5F74E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F74E9
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F74E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F74E9 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3484ED
Deuteranopia (green-blind)
#1378E7
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f74e9; /* rgb */ color: rgb(95, 116, 233); /* oklch */ color: oklch(60.3% 0.177 272.4);
Tailwind
colors: {
custom: {
50: '#989bf1',
500: '#5f74e9',
950: '#000000',
},
}SCSS
$custom: #5f74e9; $custom-light: #989bf1; $custom-dark: #000000;
JSON
{
"hex": "#5f74e9",
"rgb": {
"r": 95,
"g": 116,
"b": 233
},
"hsl": {
"h": 230.87,
"s": 75.824,
"l": 64.314
},
"oklch": {
"l": 0.60275,
"c": 0.17694,
"h": 272.4
},
"luminance": 0.20807
}Semantic roles & 50–950 ramp
primary
#5F74E9
secondary
#EAE3BA
accent
#B90DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85