#5F97E7#5F97E7
#5F97E7 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.3% C 0.133 H 257.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5F97E7 |
|---|---|
| RGB | rgb(95, 151, 231) |
| HSL | hsl(215, 74%, 64%) |
| HSV | hsv(215, 59%, 91%) |
| CMYK | cmyk(58.9%, 34.6%, 0%, 9.4%) |
| CIE-LAB | lab(61.94, 5.25, -45.98) |
| CIE-LCH | lch(61.94, 46.28, 276.52°) |
| OKLab | oklab(67.31% -0.0291 -0.1301) |
| OKLCH | oklch(67.31% 0.133 257.4) |
| XYZ | xyz(30.2046, 30.3330, 79.8489) |
| Luminance | 0.3034 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.70
Dark Sky Blue
#448EE4
ΔE00 3.76
Dodgerblue
#1E90FF
ΔE00 4.44
Soft Blue
#6488EA
ΔE00 5.71
Faded Blue
#658CBB
ΔE00 5.78
Dodger Blue
#3E82FC
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F97E7 #E7AF5F
analogous
#5FDBE7 #5F97E7 #6B5FE7
triadic
#5F97E7 #E75F97 #97E75F
tetradic
#5F97E7 #E75FDB #E7AF5F #5FE76B
square
#5F97E7 #E75FDB #E7AF5F #5FE76B
split-complementary
#5F97E7 #E76B5F #DBE75F
monochromatic
#1B59B1 #2A74DF #5F97E7 #94BAEF #C9DCF7
Accessibility & contrast
On white
2.97
#5F97E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#5F97E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F97E7
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F97E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F97E7 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#759DEA
Deuteranopia (green-blind)
#6490E5
Tritanopia (blue-blind)
#00A9B4
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5f97e7; /* rgb */ color: rgb(95, 151, 231); /* oklch */ color: oklch(67.3% 0.133 257.4);
Tailwind
colors: {
custom: {
50: '#97b5ef',
500: '#5f97e7',
950: '#000000',
},
}SCSS
$custom: #5f97e7; $custom-light: #97b5ef; $custom-dark: #000000;
JSON
{
"hex": "#5f97e7",
"rgb": {
"r": 95,
"g": 151,
"b": 231
},
"hsl": {
"h": 215.294,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.67313,
"c": 0.13332,
"h": 257.4
},
"luminance": 0.30336
}Semantic roles & 50–950 ramp
primary
#5F97E7
secondary
#E9D5B9
accent
#840FD6
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084