#5F74CF#5F74CF
#5F74CF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.6% C 0.141 H 271.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5F74CF |
|---|---|
| RGB | rgb(95, 116, 207) |
| HSL | hsl(229, 54%, 59%) |
| HSV | hsv(229, 54%, 81%) |
| CMYK | cmyk(54.1%, 44%, 0%, 18.8%) |
| CIE-LAB | lab(51.18, 18.45, -49.58) |
| CIE-LCH | lch(51.18, 52.90, 290.41°) |
| OKLab | oklab(58.6% 0.0041 -0.141) |
| OKLCH | oklch(58.6% 0.141 271.7) |
| XYZ | xyz(22.2235, 19.4271, 61.5981) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.53
Royal Blue
#4169E1
ΔE00 5.20
Cornflower
#6A79F7
ΔE00 5.88
Lightish Blue
#3D7AFD
ΔE00 6.81
French Blue
#436BAD
ΔE00 7.33
Cerulean Blue
#056EEE
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F74CF #CFBA5F
analogous
#5FACCF #5F74CF #825FCF
triadic
#5F74CF #CF5F74 #74CF5F
tetradic
#5F74CF #CF5FAC #CFBA5F #5FCF82
square
#5F74CF #CF5FAC #CFBA5F #5FCF82
split-complementary
#5F74CF #CF825F #ACCF5F
monochromatic
#293C8A #3850B9 #5F74CF #8E9DDD #BDC6EB
Accessibility & contrast
On white
4.30
#5F74CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#5F74CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F74CF
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F74CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F74CF | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D7FD2
Deuteranopia (green-blind)
#3F75CD
Tritanopia (blue-blind)
#258897
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #5f74cf; /* rgb */ color: rgb(95, 116, 207); /* oklch */ color: oklch(58.6% 0.141 271.7);
Tailwind
colors: {
custom: {
50: '#949bde',
500: '#5f74cf',
950: '#000000',
},
}SCSS
$custom: #5f74cf; $custom-light: #949bde; $custom-dark: #000000;
JSON
{
"hex": "#5f74cf",
"rgb": {
"r": 95,
"g": 116,
"b": 207
},
"hsl": {
"h": 228.75,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.58595,
"c": 0.14104,
"h": 271.7
},
"luminance": 0.19429
}Semantic roles & 50–950 ramp
primary
#5F74CF
secondary
#DBD3AF
accent
#C24BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83