#5F7DCD#5F7DCD
#5F7DCD is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.127 H 267.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7DCD |
|---|---|
| RGB | rgb(95, 125, 205) |
| HSL | hsl(224, 52%, 59%) |
| HSV | hsv(224, 54%, 80%) |
| CMYK | cmyk(53.7%, 39%, 0%, 19.6%) |
| CIE-LAB | lab(53.50, 12.32, -44.76) |
| CIE-LCH | lch(53.50, 46.43, 285.39°) |
| OKLab | oklab(60.34% -0.0065 -0.1268) |
| OKLCH | oklch(60.34% 0.127 267.1) |
| XYZ | xyz(23.0687, 21.5062, 60.6813) |
| Luminance | 0.2151 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.67
Soft Blue
#6488EA
ΔE00 4.99
Faded Blue
#658CBB
ΔE00 5.73
Lightish Blue
#3D7AFD
ΔE00 5.82
Off Blue
#5684AE
ΔE00 6.22
Cornflower
#6A79F7
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7DCD #CDAF5F
analogous
#5FB4CD #5F7DCD #785FCD
triadic
#5F7DCD #CD5F7D #7DCD5F
tetradic
#5F7DCD #CD5FB4 #CDAF5F #5FCD78
square
#5F7DCD #CD5FB4 #CDAF5F #5FCD78
split-complementary
#5F7DCD #CD785F #B4CD5F
monochromatic
#2A4487 #395BB6 #5F7DCD #8EA3DC #BCC9EA
Accessibility & contrast
On white
3.96
#5F7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#5F7DCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7DCD
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7DCD | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#258E9B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f7dcd; /* rgb */ color: rgb(95, 125, 205); /* oklch */ color: oklch(60.3% 0.127 267.1);
Tailwind
colors: {
custom: {
50: '#93a2dc',
500: '#5f7dcd',
950: '#000000',
},
}SCSS
$custom: #5f7dcd; $custom-light: #93a2dc; $custom-dark: #000000;
JSON
{
"hex": "#5f7dcd",
"rgb": {
"r": 95,
"g": 125,
"b": 205
},
"hsl": {
"h": 223.636,
"s": 52.381,
"l": 58.824
},
"oklch": {
"l": 0.60339,
"c": 0.12696,
"h": 267.1
},
"luminance": 0.21508
}Semantic roles & 50–950 ramp
primary
#5F7DCD
secondary
#DACEAE
accent
#B54CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83