#5F96F5#5F96F5
#5F96F5 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.9% C 0.153 H 260.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5F96F5 |
|---|---|
| RGB | rgb(95, 150, 245) |
| HSL | hsl(218, 88%, 67%) |
| HSV | hsv(218, 61%, 96%) |
| CMYK | cmyk(61.2%, 38.8%, 0%, 3.9%) |
| CIE-LAB | lab(62.37, 10.41, -53.02) |
| CIE-LCH | lch(62.37, 54.03, 281.11°) |
| OKLab | oklab(67.87% -0.0248 -0.1507) |
| OKLCH | oklch(67.87% 0.153 260.6) |
| XYZ | xyz(32.1013, 30.8353, 90.6286) |
| Luminance | 0.3084 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.02
Dark Sky Blue
#448EE4
ΔE00 4.58
Dodgerblue
#1E90FF
ΔE00 4.94
Soft Blue
#6488EA
ΔE00 5.13
Dodger Blue
#3E82FC
ΔE00 6.20
Faded Blue
#658CBB
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F96F5 #F5BE5F
analogous
#5FE1F5 #5F96F5 #735FF5
triadic
#5F96F5 #F55F96 #96F55F
tetradic
#5F96F5 #F55FE1 #F5BE5F #5FF573
square
#5F96F5 #F55FE1 #F5BE5F #5FF573
split-complementary
#5F96F5 #F5735F #E1F55F
monochromatic
#0D53CD #2570F1 #5F96F5 #99BCF9 #D2E2FC
Accessibility & contrast
On white
2.93
#5F96F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#5F96F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F96F5
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F96F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F96F5 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9EF9
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5f96f5; /* rgb */ color: rgb(95, 150, 245); /* oklch */ color: oklch(67.9% 0.153 260.6);
Tailwind
colors: {
custom: {
50: '#99b4f9',
500: '#5f96f5',
950: '#000000',
},
}SCSS
$custom: #5f96f5; $custom-light: #99b4f9; $custom-dark: #000000;
JSON
{
"hex": "#5f96f5",
"rgb": {
"r": 95,
"g": 150,
"b": 245
},
"hsl": {
"h": 218,
"s": 88.235,
"l": 66.667
},
"oklch": {
"l": 0.67874,
"c": 0.15272,
"h": 260.6
},
"luminance": 0.30838
}Semantic roles & 50–950 ramp
primary
#5F96F5
secondary
#F0DEC0
accent
#9101E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085