#5F75E8#5F75E8
#5F75E8 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.174 H 272.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75E8 |
|---|---|
| RGB | rgb(95, 117, 232) |
| HSL | hsl(230, 75%, 64%) |
| HSV | hsv(230, 59%, 91%) |
| CMYK | cmyk(59.1%, 49.6%, 0%, 9%) |
| CIE-LAB | lab(52.93, 25.98, -60.90) |
| CIE-LCH | lch(52.93, 66.20, 293.10°) |
| OKLab | oklab(60.4% 0.0062 -0.1742) |
| OKLCH | oklch(60.4% 0.174 272) |
| XYZ | xyz(25.6413, 20.9796, 79.0265) |
| Luminance | 0.2098 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.91
Cornflower Blue
#5170D7
ΔE00 3.61
Lightish Blue
#3D7AFD
ΔE00 4.89
Royal Blue
#4169E1
ΔE00 5.41
Soft Blue
#6488EA
ΔE00 6.31
Clear Blue
#247AFD
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75E8 #E8D25F
analogous
#5FBAE8 #5F75E8 #8E5FE8
triadic
#5F75E8 #E85F75 #75E85F
tetradic
#5F75E8 #E85FBA #E8D25F #5FE88E
square
#5F75E8 #E85FBA #E8D25F #5FE88E
split-complementary
#5F75E8 #E88E5F #BAE85F
monochromatic
#1A32B3 #2947E0 #5F75E8 #95A3F0 #CAD1F7
Accessibility & contrast
On white
4.04
#5F75E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#5F75E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75E8
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75E8 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3885EC
Deuteranopia (green-blind)
#1B79E6
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f75e8; /* rgb */ color: rgb(95, 117, 232); /* oklch */ color: oklch(60.4% 0.174 272.0);
Tailwind
colors: {
custom: {
50: '#989cf0',
500: '#5f75e8',
950: '#000000',
},
}SCSS
$custom: #5f75e8; $custom-light: #989cf0; $custom-dark: #000000;
JSON
{
"hex": "#5f75e8",
"rgb": {
"r": 95,
"g": 117,
"b": 232
},
"hsl": {
"h": 230.365,
"s": 74.863,
"l": 64.118
},
"oklch": {
"l": 0.604,
"c": 0.17433,
"h": 272
},
"luminance": 0.20982
}Semantic roles & 50–950 ramp
primary
#5F75E8
secondary
#E9E2BA
accent
#B70ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85