#5F7CCF#5F7CCF
#5F7CCF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.2% C 0.131 H 267.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7CCF |
|---|---|
| RGB | rgb(95, 124, 207) |
| HSL | hsl(224, 54%, 59%) |
| HSV | hsv(224, 54%, 81%) |
| CMYK | cmyk(54.1%, 40.1%, 0%, 18.8%) |
| CIE-LAB | lab(53.33, 13.57, -46.16) |
| CIE-LCH | lch(53.33, 48.11, 286.38°) |
| OKLab | oklab(60.24% -0.005 -0.1309) |
| OKLCH | oklch(60.24% 0.131 267.8) |
| XYZ | xyz(23.1857, 21.3515, 61.9188) |
| Luminance | 0.2135 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.31
Soft Blue
#6488EA
ΔE00 5.09
Lightish Blue
#3D7AFD
ΔE00 5.70
Cornflower
#6A79F7
ΔE00 5.91
Faded Blue
#658CBB
ΔE00 6.08
Dodger Blue
#3E82FC
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7CCF #CFB25F
analogous
#5FB4CF #5F7CCF #7A5FCF
triadic
#5F7CCF #CF5F7C #7CCF5F
tetradic
#5F7CCF #CF5FB4 #CFB25F #5FCF7A
square
#5F7CCF #CF5FB4 #CFB25F #5FCF7A
split-complementary
#5F7CCF #CF7A5F #B4CF5F
monochromatic
#29428A #3859B9 #5F7CCF #8EA3DD #BDC9EB
Accessibility & contrast
On white
3.98
#5F7CCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5F7CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7CCF
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7CCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7CCF | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A85D2
Deuteranopia (green-blind)
#4D7BCD
Tritanopia (blue-blind)
#238E9B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5f7ccf; /* rgb */ color: rgb(95, 124, 207); /* oklch */ color: oklch(60.2% 0.131 267.8);
Tailwind
colors: {
custom: {
50: '#94a1de',
500: '#5f7ccf',
950: '#000000',
},
}SCSS
$custom: #5f7ccf; $custom-light: #94a1de; $custom-dark: #000000;
JSON
{
"hex": "#5f7ccf",
"rgb": {
"r": 95,
"g": 124,
"b": 207
},
"hsl": {
"h": 224.464,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.60244,
"c": 0.13098,
"h": 267.8
},
"luminance": 0.21353
}Semantic roles & 50–950 ramp
primary
#5F7CCF
secondary
#DBCFAF
accent
#B74BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83