#5F75DE#5F75DE
#5F75DE is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.7% C 0.161 H 271.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75DE |
|---|---|
| RGB | rgb(95, 117, 222) |
| HSL | hsl(230, 66%, 62%) |
| HSV | hsv(230, 57%, 87%) |
| CMYK | cmyk(57.2%, 47.3%, 0%, 12.9%) |
| CIE-LAB | lab(52.32, 22.70, -56.26) |
| CIE-LCH | lch(52.32, 60.67, 291.97°) |
| OKLab | oklab(59.74% 0.0051 -0.1606) |
| OKLCH | oklch(59.74% 0.161 271.8) |
| XYZ | xyz(24.2611, 20.4276, 71.7575) |
| Luminance | 0.2043 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.82
Cornflower
#6A79F7
ΔE00 3.99
Royal Blue
#4169E1
ΔE00 5.13
Lightish Blue
#3D7AFD
ΔE00 5.41
Soft Blue
#6488EA
ΔE00 6.50
Clear Blue
#247AFD
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75DE #DEC85F
analogous
#5FB5DE #5F75DE #885FDE
triadic
#5F75DE #DE5F75 #75DE5F
tetradic
#5F75DE #DE5FB5 #DEC85F #5FDE88
square
#5F75DE #DE5FB5 #DEC85F #5FDE88
split-complementary
#5F75DE #DE885F #B5DE5F
monochromatic
#2137A1 #2C49D4 #5F75DE #92A1E8 #C4CDF3
Accessibility & contrast
On white
4.13
#5F75DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#5F75DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75DE
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75DE | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4283E2
Deuteranopia (green-blind)
#2F78DC
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5f75de; /* rgb */ color: rgb(95, 117, 222); /* oklch */ color: oklch(59.7% 0.161 271.8);
Tailwind
colors: {
custom: {
50: '#969ce9',
500: '#5f75de',
950: '#000000',
},
}SCSS
$custom: #5f75de; $custom-light: #969ce9; $custom-dark: #000000;
JSON
{
"hex": "#5f75de",
"rgb": {
"r": 95,
"g": 117,
"b": 222
},
"hsl": {
"h": 229.606,
"s": 65.803,
"l": 62.157
},
"oklch": {
"l": 0.59741,
"c": 0.16067,
"h": 271.8
},
"luminance": 0.20429
}Semantic roles & 50–950 ramp
primary
#5F75DE
secondary
#E4DCB5
accent
#AE18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84