#5F74E7#5F74E7
#5F74E7 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.174 H 272.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5F74E7 |
|---|---|
| RGB | rgb(95, 116, 231) |
| HSL | hsl(231, 74%, 64%) |
| HSV | hsv(231, 59%, 91%) |
| CMYK | cmyk(58.9%, 49.8%, 0%, 9.4%) |
| CIE-LAB | lab(52.61, 26.26, -60.85) |
| CIE-LCH | lch(52.61, 66.27, 293.34°) |
| OKLab | oklab(60.14% 0.0071 -0.1741) |
| OKLCH | oklch(60.14% 0.174 272.3) |
| XYZ | xyz(25.3837, 20.6912, 78.2420) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.12
Cornflower Blue
#5170D7
ΔE00 3.43
Lightish Blue
#3D7AFD
ΔE00 5.15
Royal Blue
#4169E1
ΔE00 5.18
Clear Blue
#247AFD
ΔE00 6.65
Soft Blue
#6488EA
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F74E7 #E7D25F
analogous
#5FB8E7 #5F74E7 #8E5FE7
triadic
#5F74E7 #E75F74 #74E75F
tetradic
#5F74E7 #E75FB8 #E7D25F #5FE78E
square
#5F74E7 #E75FB8 #E7D25F #5FE78E
split-complementary
#5F74E7 #E78E5F #B8E75F
monochromatic
#1B32B1 #2A46DF #5F74E7 #94A2EF #C9D0F7
Accessibility & contrast
On white
4.09
#5F74E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#5F74E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F74E7
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F74E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F74E7 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3784EB
Deuteranopia (green-blind)
#1A78E5
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f74e7; /* rgb */ color: rgb(95, 116, 231); /* oklch */ color: oklch(60.1% 0.174 272.3);
Tailwind
colors: {
custom: {
50: '#979bef',
500: '#5f74e7',
950: '#000000',
},
}SCSS
$custom: #5f74e7; $custom-light: #979bef; $custom-dark: #000000;
JSON
{
"hex": "#5f74e7",
"rgb": {
"r": 95,
"g": 116,
"b": 231
},
"hsl": {
"h": 230.735,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.6014,
"c": 0.17424,
"h": 272.3
},
"luminance": 0.20693
}Semantic roles & 50–950 ramp
primary
#5F74E7
secondary
#E9E1B9
accent
#B70FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84