#5F76DF#5F76DF
#5F76DF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.0% C 0.161 H 271.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76DF |
|---|---|
| RGB | rgb(95, 118, 223) |
| HSL | hsl(229, 67%, 62%) |
| HSV | hsv(229, 57%, 87%) |
| CMYK | cmyk(57.4%, 47.1%, 0%, 12.5%) |
| CIE-LAB | lab(52.64, 22.42, -56.31) |
| CIE-LCH | lch(52.64, 60.61, 291.71°) |
| OKLab | oklab(60% 0.0042 -0.1607) |
| OKLCH | oklch(60% 0.161 271.5) |
| XYZ | xyz(24.5126, 20.7156, 72.5045) |
| Luminance | 0.2072 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.02
Cornflower
#6A79F7
ΔE00 3.82
Lightish Blue
#3D7AFD
ΔE00 5.16
Royal Blue
#4169E1
ΔE00 5.36
Soft Blue
#6488EA
ΔE00 6.13
Clear Blue
#247AFD
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76DF #DFC85F
analogous
#5FB6DF #5F76DF #885FDF
triadic
#5F76DF #DF5F76 #76DF5F
tetradic
#5F76DF #DF5FB6 #DFC85F #5FDF88
square
#5F76DF #DF5FB6 #DFC85F #5FDF88
split-complementary
#5F76DF #DF885F #B6DF5F
monochromatic
#2138A3 #2C4AD5 #5F76DF #92A2E9 #C5CDF3
Accessibility & contrast
On white
4.08
#5F76DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#5F76DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76DF
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76DF | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4383E3
Deuteranopia (green-blind)
#3078DD
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f76df; /* rgb */ color: rgb(95, 118, 223); /* oklch */ color: oklch(60.0% 0.161 271.5);
Tailwind
colors: {
custom: {
50: '#969de9',
500: '#5f76df',
950: '#000000',
},
}SCSS
$custom: #5f76df; $custom-light: #969de9; $custom-dark: #000000;
JSON
{
"hex": "#5f76df",
"rgb": {
"r": 95,
"g": 118,
"b": 223
},
"hsl": {
"h": 229.219,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.60003,
"c": 0.16078,
"h": 271.5
},
"luminance": 0.20717
}Semantic roles & 50–950 ramp
primary
#5F76DF
secondary
#E4DCB6
accent
#AE17CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84