#5F75E4#5F75E4
#5F75E4 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.1% C 0.169 H 272.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75E4 |
|---|---|
| RGB | rgb(95, 117, 228) |
| HSL | hsl(230, 71%, 63%) |
| HSV | hsv(230, 58%, 89%) |
| CMYK | cmyk(58.3%, 48.7%, 0%, 10.6%) |
| CIE-LAB | lab(52.68, 24.66, -59.05) |
| CIE-LCH | lch(52.68, 63.99, 292.67°) |
| OKLab | oklab(60.13% 0.0058 -0.1688) |
| OKLCH | oklch(60.13% 0.169 272) |
| XYZ | xyz(25.0796, 20.7550, 76.0682) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.25
Cornflower
#6A79F7
ΔE00 3.32
Lightish Blue
#3D7AFD
ΔE00 5.07
Royal Blue
#4169E1
ΔE00 5.26
Soft Blue
#6488EA
ΔE00 6.36
Clear Blue
#247AFD
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75E4 #E4CE5F
analogous
#5FB7E4 #5F75E4 #8B5FE4
triadic
#5F75E4 #E45F75 #75E45F
tetradic
#5F75E4 #E45FB7 #E4CE5F #5FE48B
square
#5F75E4 #E45FB7 #E4CE5F #5FE48B
split-complementary
#5F75E4 #E48B5F #B7E45F
monochromatic
#1D35AC #2B48DB #5F75E4 #93A2ED #C8CFF6
Accessibility & contrast
On white
4.08
#5F75E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#5F75E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75E4
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75E4 | 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)
#3C84E8
Deuteranopia (green-blind)
#2578E2
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f75e4; /* rgb */ color: rgb(95, 117, 228); /* oklch */ color: oklch(60.1% 0.169 272.0);
Tailwind
colors: {
custom: {
50: '#979ced',
500: '#5f75e4',
950: '#000000',
},
}SCSS
$custom: #5f75e4; $custom-light: #979ced; $custom-dark: #000000;
JSON
{
"hex": "#5f75e4",
"rgb": {
"r": 95,
"g": 117,
"b": 228
},
"hsl": {
"h": 230.075,
"s": 71.123,
"l": 63.333
},
"oklch": {
"l": 0.60134,
"c": 0.16889,
"h": 272
},
"luminance": 0.20757
}Semantic roles & 50–950 ramp
primary
#5F75E4
secondary
#E7DFB8
accent
#B312D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84