#5F75DC#5F75DC
#5F75DC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.6% C 0.158 H 271.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75DC |
|---|---|
| RGB | rgb(95, 117, 220) |
| HSL | hsl(229, 64%, 62%) |
| HSV | hsv(229, 57%, 86%) |
| CMYK | cmyk(56.8%, 46.8%, 0%, 13.7%) |
| CIE-LAB | lab(52.20, 22.05, -55.32) |
| CIE-LCH | lch(52.20, 59.55, 291.73°) |
| OKLab | oklab(59.61% 0.0049 -0.1578) |
| OKLCH | oklch(59.61% 0.158 271.8) |
| XYZ | xyz(23.9946, 20.3210, 70.3542) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.71
Cornflower
#6A79F7
ΔE00 4.22
Royal Blue
#4169E1
ΔE00 5.11
Lightish Blue
#3D7AFD
ΔE00 5.55
Soft Blue
#6488EA
ΔE00 6.57
Clear Blue
#247AFD
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75DC #DCC65F
analogous
#5FB4DC #5F75DC #885FDC
triadic
#5F75DC #DC5F75 #75DC5F
tetradic
#5F75DC #DC5FB4 #DCC65F #5FDC88
square
#5F75DC #DC5FB4 #DCC65F #5FDC88
split-complementary
#5F75DC #DC885F #B4DC5F
monochromatic
#23389E #2E4AD0 #5F75DC #91A0E7 #C3CCF2
Accessibility & contrast
On white
4.15
#5F75DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#5F75DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75DC
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75DC | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#078C9E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5f75dc; /* rgb */ color: rgb(95, 117, 220); /* oklch */ color: oklch(59.6% 0.158 271.8);
Tailwind
colors: {
custom: {
50: '#969ce7',
500: '#5f75dc',
950: '#000000',
},
}SCSS
$custom: #5f75dc; $custom-light: #969ce7; $custom-dark: #000000;
JSON
{
"hex": "#5f75dc",
"rgb": {
"r": 95,
"g": 117,
"b": 220
},
"hsl": {
"h": 229.44,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.59612,
"c": 0.15791,
"h": 271.8
},
"luminance": 0.20323
}Semantic roles & 50–950 ramp
primary
#5F75DC
secondary
#E3DAB4
accent
#AD1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84