#5F7ECB#5F7ECB
#5F7ECB is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.4% C 0.123 H 266.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7ECB |
|---|---|
| RGB | rgb(95, 126, 203) |
| HSL | hsl(223, 51%, 58%) |
| HSV | hsv(223, 53%, 80%) |
| CMYK | cmyk(53.2%, 37.9%, 0%, 20.4%) |
| CIE-LAB | lab(53.67, 11.08, -43.36) |
| CIE-LCH | lch(53.67, 44.75, 284.34°) |
| OKLab | oklab(60.44% -0.0081 -0.1227) |
| OKLCH | oklch(60.44% 0.123 266.2) |
| XYZ | xyz(22.9561, 21.6647, 59.4604) |
| Luminance | 0.2167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 4.92
Cornflower Blue
#5170D7
ΔE00 5.03
Faded Blue
#658CBB
ΔE00 5.37
Off Blue
#5684AE
ΔE00 5.94
Lightish Blue
#3D7AFD
ΔE00 5.95
Dusty Blue
#5A86AD
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7ECB #CBAC5F
analogous
#5FB4CB #5F7ECB #765FCB
triadic
#5F7ECB #CB5F7E #7ECB5F
tetradic
#5F7ECB #CB5FB4 #CBAC5F #5FCB76
square
#5F7ECB #CB5FB4 #CBAC5F #5FCB76
split-complementary
#5F7ECB #CB765F #B4CB5F
monochromatic
#2B4585 #3A5DB3 #5F7ECB #8DA3DA #BBC8E9
Accessibility & contrast
On white
3.94
#5F7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#5F7ECB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7ECB
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7ECB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7ECB | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F85CE
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#288F9B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f7ecb; /* rgb */ color: rgb(95, 126, 203); /* oklch */ color: oklch(60.4% 0.123 266.2);
Tailwind
colors: {
custom: {
50: '#93a3db',
500: '#5f7ecb',
950: '#000000',
},
}SCSS
$custom: #5f7ecb; $custom-light: #93a3db; $custom-dark: #000000;
JSON
{
"hex": "#5f7ecb",
"rgb": {
"r": 95,
"g": 126,
"b": 203
},
"hsl": {
"h": 222.778,
"s": 50.943,
"l": 58.431
},
"oklch": {
"l": 0.60436,
"c": 0.12294,
"h": 266.2
},
"luminance": 0.21666
}Semantic roles & 50–950 ramp
primary
#5F7ECB
secondary
#D8CCAD
accent
#B24DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83