#5F94EB#5F94EB
#5F94EB is a light, vivid blue. Relative luminance 0.296; OKLCH L 66.9% C 0.142 H 259.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5F94EB |
|---|---|
| RGB | rgb(95, 148, 235) |
| HSL | hsl(217, 78%, 65%) |
| HSV | hsv(217, 60%, 92%) |
| CMYK | cmyk(59.6%, 37%, 0%, 7.8%) |
| CIE-LAB | lab(61.31, 8.31, -49.18) |
| CIE-LCH | lch(61.31, 49.87, 279.59°) |
| OKLab | oklab(66.89% -0.025 -0.1395) |
| OKLCH | oklch(66.89% 0.142 259.8) |
| XYZ | xyz(30.2994, 29.6082, 82.6994) |
| Luminance | 0.2961 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 0.84
Dark Sky Blue
#448EE4
ΔE00 3.84
Soft Blue
#6488EA
ΔE00 4.58
Dodgerblue
#1E90FF
ΔE00 4.72
Faded Blue
#658CBB
ΔE00 5.57
Dodger Blue
#3E82FC
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F94EB #EBB65F
analogous
#5FDAEB #5F94EB #705FEB
triadic
#5F94EB #EB5F94 #94EB5F
tetradic
#5F94EB #EB5FDA #EBB65F #5FEB70
square
#5F94EB #EB5FDA #EBB65F #5FEB70
split-complementary
#5F94EB #EB705F #DAEB5F
monochromatic
#1754B9 #2970E4 #5F94EB #95B8F2 #CCDDF9
Accessibility & contrast
On white
3.03
#5F94EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#5F94EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F94EB
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F94EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F94EB | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#00A8B4
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #5f94eb; /* rgb */ color: rgb(95, 148, 235); /* oklch */ color: oklch(66.9% 0.142 259.8);
Tailwind
colors: {
custom: {
50: '#97b3f2',
500: '#5f94eb',
950: '#000000',
},
}SCSS
$custom: #5f94eb; $custom-light: #97b3f2; $custom-dark: #000000;
JSON
{
"hex": "#5f94eb",
"rgb": {
"r": 95,
"g": 148,
"b": 235
},
"hsl": {
"h": 217.286,
"s": 77.778,
"l": 64.706
},
"oklch": {
"l": 0.6689,
"c": 0.1417,
"h": 259.8
},
"luminance": 0.29611
}Semantic roles & 50–950 ramp
primary
#5F94EB
secondary
#EBD9BB
accent
#8C0BDA
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0F1017
muted
#7E7F85