#5F74E4#5F74E4
#5F74E4 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.9% C 0.170 H 272.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5F74E4 |
|---|---|
| RGB | rgb(95, 116, 228) |
| HSL | hsl(231, 71%, 63%) |
| HSV | hsv(231, 58%, 89%) |
| CMYK | cmyk(58.3%, 49.1%, 0%, 10.6%) |
| CIE-LAB | lab(52.42, 25.27, -59.46) |
| CIE-LCH | lch(52.42, 64.61, 293.03°) |
| OKLab | oklab(59.94% 0.0068 -0.17) |
| OKLCH | oklch(59.94% 0.17 272.3) |
| XYZ | xyz(24.9637, 20.5232, 76.0296) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.16
Cornflower
#6A79F7
ΔE00 3.43
Royal Blue
#4169E1
ΔE00 5.06
Lightish Blue
#3D7AFD
ΔE00 5.28
Soft Blue
#6488EA
ΔE00 6.70
Clear Blue
#247AFD
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F74E4 #E4CF5F
analogous
#5FB7E4 #5F74E4 #8C5FE4
triadic
#5F74E4 #E45F74 #74E45F
tetradic
#5F74E4 #E45FB7 #E4CF5F #5FE48C
square
#5F74E4 #E45FB7 #E4CF5F #5FE48C
split-complementary
#5F74E4 #E48C5F #B7E45F
monochromatic
#1D33AC #2B47DB #5F74E4 #93A1ED #C8CFF6
Accessibility & contrast
On white
4.11
#5F74E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#5F74E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F74E4
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F74E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F74E4 | 1.00 | 4.11 | 5.10 | 5.10 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A83E8
Deuteranopia (green-blind)
#2178E2
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5f74e4; /* rgb */ color: rgb(95, 116, 228); /* oklch */ color: oklch(59.9% 0.170 272.3);
Tailwind
colors: {
custom: {
50: '#979bed',
500: '#5f74e4',
950: '#000000',
},
}SCSS
$custom: #5f74e4; $custom-light: #979bed; $custom-dark: #000000;
JSON
{
"hex": "#5f74e4",
"rgb": {
"r": 95,
"g": 116,
"b": 228
},
"hsl": {
"h": 230.526,
"s": 71.123,
"l": 63.333
},
"oklch": {
"l": 0.59939,
"c": 0.17016,
"h": 272.3
},
"luminance": 0.20525
}Semantic roles & 50–950 ramp
primary
#5F74E4
secondary
#E7E0B8
accent
#B512D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84