#5F75CF#5F75CF
#5F75CF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.8% C 0.140 H 271.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75CF |
|---|---|
| RGB | rgb(95, 117, 207) |
| HSL | hsl(228, 54%, 59%) |
| HSV | hsv(228, 54%, 81%) |
| CMYK | cmyk(54.1%, 43.5%, 0%, 18.8%) |
| CIE-LAB | lab(51.45, 17.84, -49.15) |
| CIE-LCH | lch(51.45, 52.29, 289.94°) |
| OKLab | oklab(58.8% 0.003 -0.1397) |
| OKLCH | oklch(58.8% 0.14 271.2) |
| XYZ | xyz(22.3394, 19.6589, 61.6367) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.65
Royal Blue
#4169E1
ΔE00 5.38
Cornflower
#6A79F7
ΔE00 5.81
Lightish Blue
#3D7AFD
ΔE00 6.62
Soft Blue
#6488EA
ΔE00 7.20
Cerulean Blue
#056EEE
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75CF #CFB95F
analogous
#5FADCF #5F75CF #815FCF
triadic
#5F75CF #CF5F75 #75CF5F
tetradic
#5F75CF #CF5FAD #CFB95F #5FCF81
square
#5F75CF #CF5FAD #CFB95F #5FCF81
split-complementary
#5F75CF #CF815F #ADCF5F
monochromatic
#293C8A #3851B9 #5F75CF #8E9EDD #BDC6EB
Accessibility & contrast
On white
4.26
#5F75CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#5F75CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75CF
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75CF | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E80D2
Deuteranopia (green-blind)
#4176CD
Tritanopia (blue-blind)
#258998
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5f75cf; /* rgb */ color: rgb(95, 117, 207); /* oklch */ color: oklch(58.8% 0.140 271.2);
Tailwind
colors: {
custom: {
50: '#949cde',
500: '#5f75cf',
950: '#000000',
},
}SCSS
$custom: #5f75cf; $custom-light: #949cde; $custom-dark: #000000;
JSON
{
"hex": "#5f75cf",
"rgb": {
"r": 95,
"g": 117,
"b": 207
},
"hsl": {
"h": 228.214,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.58799,
"c": 0.13976,
"h": 271.2
},
"luminance": 0.1966
}Semantic roles & 50–950 ramp
primary
#5F75CF
secondary
#DBD2AF
accent
#C04BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83