#5F75DD#5F75DD
#5F75DD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.7% C 0.159 H 271.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75DD |
|---|---|
| RGB | rgb(95, 117, 221) |
| HSL | hsl(230, 65%, 62%) |
| HSV | hsv(230, 57%, 87%) |
| CMYK | cmyk(57%, 47.1%, 0%, 13.3%) |
| CIE-LAB | lab(52.26, 22.37, -55.79) |
| CIE-LCH | lch(52.26, 60.11, 291.85°) |
| OKLab | oklab(59.68% 0.005 -0.1592) |
| OKLCH | oklch(59.68% 0.159 271.8) |
| XYZ | xyz(24.1275, 20.3741, 71.0538) |
| Luminance | 0.2038 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.76
Cornflower
#6A79F7
ΔE00 4.11
Royal Blue
#4169E1
ΔE00 5.12
Lightish Blue
#3D7AFD
ΔE00 5.48
Soft Blue
#6488EA
ΔE00 6.53
Clear Blue
#247AFD
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75DD #DDC75F
analogous
#5FB4DD #5F75DD #885FDD
triadic
#5F75DD #DD5F75 #75DD5F
tetradic
#5F75DD #DD5FB4 #DDC75F #5FDD88
square
#5F75DD #DD5FB4 #DDC75F #5FDD88
split-complementary
#5F75DD #DD885F #B4DD5F
monochromatic
#2238A0 #2D4AD2 #5F75DD #91A1E8 #C4CCF2
Accessibility & contrast
On white
4.14
#5F75DD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#5F75DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75DD
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75DD | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4382E1
Deuteranopia (green-blind)
#3177DB
Tritanopia (blue-blind)
#028C9E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5f75dd; /* rgb */ color: rgb(95, 117, 221); /* oklch */ color: oklch(59.7% 0.159 271.8);
Tailwind
colors: {
custom: {
50: '#969ce8',
500: '#5f75dd',
950: '#000000',
},
}SCSS
$custom: #5f75dd; $custom-light: #969ce8; $custom-dark: #000000;
JSON
{
"hex": "#5f75dd",
"rgb": {
"r": 95,
"g": 117,
"b": 221
},
"hsl": {
"h": 229.524,
"s": 64.948,
"l": 61.961
},
"oklch": {
"l": 0.59677,
"c": 0.15929,
"h": 271.8
},
"luminance": 0.20376
}Semantic roles & 50–950 ramp
primary
#5F75DD
secondary
#E3DBB5
accent
#AD19CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84