#5F7EBC#5F7EBC
#5F7EBC is a mid, moderate blue. Relative luminance 0.210; OKLCH L 59.6% C 0.102 H 263.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7EBC |
|---|---|
| RGB | rgb(95, 126, 188) |
| HSL | hsl(220, 41%, 55%) |
| HSV | hsv(220, 49%, 74%) |
| CMYK | cmyk(49.5%, 33%, 0%, 26.3%) |
| CIE-LAB | lab(52.93, 6.37, -35.96) |
| CIE-LCH | lch(52.93, 36.52, 280.04°) |
| OKLab | oklab(59.62% -0.0118 -0.1011) |
| OKLCH | oklch(59.62% 0.102 263.4) |
| XYZ | xyz(21.2543, 20.9840, 50.4975) |
| Luminance | 0.2099 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.15
Off Blue
#5684AE
ΔE00 5.24
Dusty Blue
#5A86AD
ΔE00 5.59
Cornflower Blue
#5170D7
ΔE00 5.73
Cool Blue
#4984B8
ΔE00 6.30
Soft Blue
#6488EA
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7EBC #BC9D5F
analogous
#5FACBC #5F7EBC #6E5FBC
triadic
#5F7EBC #BC5F7E #7EBC5F
tetradic
#5F7EBC #BC5FAC #BC9D5F #5FBC6E
square
#5F7EBC #BC5FAC #BC9D5F #5FBC6E
split-complementary
#5F7EBC #BC6E5F #ACBC5F
monochromatic
#2F4571 #41609C #5F7EBC #8AA1CE #B5C4E0
Accessibility & contrast
On white
4.04
#5F7EBC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#5F7EBC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7EBC
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7EBC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7EBC | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#5C7ABB
Tritanopia (blue-blind)
#378B94
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f7ebc; /* rgb */ color: rgb(95, 126, 188); /* oklch */ color: oklch(59.6% 0.102 263.4);
Tailwind
colors: {
custom: {
50: '#91a3d0',
500: '#5f7ebc',
950: '#000000',
},
}SCSS
$custom: #5f7ebc; $custom-light: #91a3d0; $custom-dark: #000000;
JSON
{
"hex": "#5f7ebc",
"rgb": {
"r": 95,
"g": 126,
"b": 188
},
"hsl": {
"h": 220,
"s": 40.969,
"l": 55.49
},
"oklch": {
"l": 0.59623,
"c": 0.10182,
"h": 263.4
},
"luminance": 0.20985
}Semantic roles & 50–950 ramp
primary
#5F7EBC
secondary
#CFC2A8
accent
#A857D1
background
#F9FAFC
surface
#F2F3F9
border
#CCCDD2
text
#0D0F14
muted
#7E7F82