#5F74E8#5F74E8
#5F74E8 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.176 H 272.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5F74E8 |
|---|---|
| RGB | rgb(95, 116, 232) |
| HSL | hsl(231, 75%, 64%) |
| HSV | hsv(231, 59%, 91%) |
| CMYK | cmyk(59.1%, 50%, 0%, 9%) |
| CIE-LAB | lab(52.67, 26.59, -61.31) |
| CIE-LCH | lch(52.67, 66.82, 293.44°) |
| OKLab | oklab(60.21% 0.0072 -0.1754) |
| OKLCH | oklch(60.21% 0.176 272.4) |
| XYZ | xyz(25.5254, 20.7479, 78.9879) |
| Luminance | 0.2075 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.03
Cornflower Blue
#5170D7
ΔE00 3.53
Lightish Blue
#3D7AFD
ΔE00 5.11
Royal Blue
#4169E1
ΔE00 5.22
Clear Blue
#247AFD
ΔE00 6.63
Soft Blue
#6488EA
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F74E8 #E8D35F
analogous
#5FB9E8 #5F74E8 #8F5FE8
triadic
#5F74E8 #E85F74 #74E85F
tetradic
#5F74E8 #E85FB9 #E8D35F #5FE88F
square
#5F74E8 #E85FB9 #E8D35F #5FE88F
split-complementary
#5F74E8 #E88F5F #B9E85F
monochromatic
#1A31B3 #2946E0 #5F74E8 #95A2F0 #CAD1F7
Accessibility & contrast
On white
4.08
#5F74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#5F74E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F74E8
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F74E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F74E8 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3584EC
Deuteranopia (green-blind)
#1778E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f74e8; /* rgb */ color: rgb(95, 116, 232); /* oklch */ color: oklch(60.2% 0.176 272.4);
Tailwind
colors: {
custom: {
50: '#989bf0',
500: '#5f74e8',
950: '#000000',
},
}SCSS
$custom: #5f74e8; $custom-light: #989bf0; $custom-dark: #000000;
JSON
{
"hex": "#5f74e8",
"rgb": {
"r": 95,
"g": 116,
"b": 232
},
"hsl": {
"h": 230.803,
"s": 74.863,
"l": 64.118
},
"oklch": {
"l": 0.60207,
"c": 0.17559,
"h": 272.4
},
"luminance": 0.2075
}Semantic roles & 50–950 ramp
primary
#5F74E8
secondary
#E9E2BA
accent
#B80ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85