#5F76EE#5F76EE
#5F76EE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.181 H 271.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5F76EE |
|---|---|
| RGB | rgb(95, 118, 238) |
| HSL | hsl(230, 81%, 65%) |
| HSV | hsv(230, 60%, 93%) |
| CMYK | cmyk(60.1%, 50.4%, 0%, 6.7%) |
| CIE-LAB | lab(53.56, 27.34, -63.23) |
| CIE-LCH | lch(53.56, 68.89, 293.38°) |
| OKLab | oklab(61% 0.0058 -0.1811) |
| OKLCH | oklch(61% 0.181 271.8) |
| XYZ | xyz(26.6252, 21.5606, 83.6309) |
| Luminance | 0.2156 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.27
Cornflower Blue
#5170D7
ΔE00 4.30
Lightish Blue
#3D7AFD
ΔE00 4.52
Royal Blue
#4169E1
ΔE00 5.92
Soft Blue
#6488EA
ΔE00 5.96
Clear Blue
#247AFD
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F76EE #EED75F
analogous
#5FBDEE #5F76EE #905FEE
triadic
#5F76EE #EE5F76 #76EE5F
tetradic
#5F76EE #EE5FBD #EED75F #5FEE90
square
#5F76EE #EE5FBD #EED75F #5FEE90
split-complementary
#5F76EE #EE905F #BDEE5F
monochromatic
#1430BE #2847E8 #5F76EE #96A5F4 #CED5FA
Accessibility & contrast
On white
3.95
#5F76EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#5F76EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F76EE
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F76EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F76EE | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3387F2
Deuteranopia (green-blind)
#0A7AEC
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f76ee; /* rgb */ color: rgb(95, 118, 238); /* oklch */ color: oklch(61.0% 0.181 271.8);
Tailwind
colors: {
custom: {
50: '#989df4',
500: '#5f76ee',
950: '#000000',
},
}SCSS
$custom: #5f76ee; $custom-light: #989df4; $custom-dark: #000000;
JSON
{
"hex": "#5f76ee",
"rgb": {
"r": 95,
"g": 118,
"b": 238
},
"hsl": {
"h": 230.35,
"s": 80.791,
"l": 65.294
},
"oklch": {
"l": 0.60997,
"c": 0.18118,
"h": 271.8
},
"luminance": 0.21563
}Semantic roles & 50–950 ramp
primary
#5F76EE
secondary
#ECE5BC
accent
#BB08DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85