#5F76D3#5F76D3
#5F76D3 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.2% C 0.144 H 271.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76D3 |
|---|---|
| RGB | rgb(95, 118, 211) |
| HSL | hsl(228, 57%, 60%) |
| HSV | hsv(228, 55%, 83%) |
| CMYK | cmyk(55%, 44.1%, 0%, 17.3%) |
| CIE-LAB | lab(51.94, 18.51, -50.64) |
| CIE-LCH | lch(51.94, 53.92, 290.08°) |
| OKLab | oklab(59.25% 0.0025 -0.1441) |
| OKLCH | oklch(59.25% 0.144 271) |
| XYZ | xyz(22.9518, 20.0913, 64.2839) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.70
Cornflower
#6A79F7
ΔE00 5.26
Royal Blue
#4169E1
ΔE00 5.44
Lightish Blue
#3D7AFD
ΔE00 6.08
Soft Blue
#6488EA
ΔE00 6.64
Deep Sky Blue
#0D75F8
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76D3 #D3BC5F
analogous
#5FB0D3 #5F76D3 #825FD3
triadic
#5F76D3 #D35F76 #76D35F
tetradic
#5F76D3 #D35FB0 #D3BC5F #5FD382
square
#5F76D3 #D35FB0 #D3BC5F #5FD382
split-complementary
#5F76D3 #D3825F #B0D35F
monochromatic
#283C90 #3550C0 #5F76D3 #8F9FE0 #BFC8ED
Accessibility & contrast
On white
4.18
#5F76D3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#5F76D3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76D3
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76D3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76D3 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D81D7
Deuteranopia (green-blind)
#3F77D1
Tritanopia (blue-blind)
#1E8A9A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5f76d3; /* rgb */ color: rgb(95, 118, 211); /* oklch */ color: oklch(59.2% 0.144 271.0);
Tailwind
colors: {
custom: {
50: '#949de1',
500: '#5f76d3',
950: '#000000',
},
}SCSS
$custom: #5f76d3; $custom-light: #949de1; $custom-dark: #000000;
JSON
{
"hex": "#5f76d3",
"rgb": {
"r": 95,
"g": 118,
"b": 211
},
"hsl": {
"h": 228.103,
"s": 56.863,
"l": 60
},
"oklch": {
"l": 0.59247,
"c": 0.1441,
"h": 271
},
"luminance": 0.20093
}Semantic roles & 50–950 ramp
primary
#5F76D3
secondary
#DDD4B1
accent
#C248E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83