#5F75DF#5F75DF
#5F75DF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.8% C 0.162 H 271.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75DF |
|---|---|
| RGB | rgb(95, 117, 223) |
| HSL | hsl(230, 67%, 62%) |
| HSV | hsv(230, 57%, 87%) |
| CMYK | cmyk(57.4%, 47.5%, 0%, 12.5%) |
| CIE-LAB | lab(52.38, 23.03, -56.73) |
| CIE-LCH | lch(52.38, 61.22, 292.09°) |
| OKLab | oklab(59.81% 0.0053 -0.162) |
| OKLCH | oklch(59.81% 0.162 271.9) |
| XYZ | xyz(24.3955, 20.4813, 72.4655) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.88
Cornflower
#6A79F7
ΔE00 3.88
Royal Blue
#4169E1
ΔE00 5.14
Lightish Blue
#3D7AFD
ΔE00 5.35
Soft Blue
#6488EA
ΔE00 6.47
Clear Blue
#247AFD
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75DF #DFC95F
analogous
#5FB5DF #5F75DF #895FDF
triadic
#5F75DF #DF5F75 #75DF5F
tetradic
#5F75DF #DF5FB5 #DFC95F #5FDF89
square
#5F75DF #DF5FB5 #DFC95F #5FDF89
split-complementary
#5F75DF #DF895F #B5DF5F
monochromatic
#2137A3 #2C49D5 #5F75DF #92A1E9 #C5CDF3
Accessibility & contrast
On white
4.12
#5F75DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#5F75DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75DF
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75DF | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#2E78DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5f75df; /* rgb */ color: rgb(95, 117, 223); /* oklch */ color: oklch(59.8% 0.162 271.9);
Tailwind
colors: {
custom: {
50: '#969ce9',
500: '#5f75df',
950: '#000000',
},
}SCSS
$custom: #5f75df; $custom-light: #969ce9; $custom-dark: #000000;
JSON
{
"hex": "#5f75df",
"rgb": {
"r": 95,
"g": 117,
"b": 223
},
"hsl": {
"h": 229.688,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.59806,
"c": 0.16205,
"h": 271.9
},
"luminance": 0.20483
}Semantic roles & 50–950 ramp
primary
#5F75DF
secondary
#E4DCB6
accent
#AF17CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84