#5F7CEE#5F7CEE
#5F7CEE is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.2% C 0.174 H 270.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7CEE |
|---|---|
| RGB | rgb(95, 124, 238) |
| HSL | hsl(228, 81%, 65%) |
| HSV | hsv(228, 60%, 93%) |
| CMYK | cmyk(60.1%, 47.9%, 0%, 6.7%) |
| CIE-LAB | lab(55.09, 23.69, -60.77) |
| CIE-LCH | lch(55.09, 65.22, 291.29°) |
| OKLab | oklab(62.16% 0 -0.1738) |
| OKLCH | oklch(62.16% 0.174 270) |
| XYZ | xyz(27.3544, 23.0190, 83.8739) |
| Luminance | 0.2302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.72
Lightish Blue
#3D7AFD
ΔE00 3.72
Soft Blue
#6488EA
ΔE00 3.93
Dodger Blue
#3E82FC
ΔE00 4.95
Cornflower Blue
#5170D7
ΔE00 5.31
Clear Blue
#247AFD
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7CEE #EED15F
analogous
#5FC4EE #5F7CEE #895FEE
triadic
#5F7CEE #EE5F7C #7CEE5F
tetradic
#5F7CEE #EE5FC4 #EED15F #5FEE89
square
#5F7CEE #EE5FC4 #EED15F #5FEE89
split-complementary
#5F7CEE #EE895F #C4EE5F
monochromatic
#1437BE #284FE8 #5F7CEE #96A9F4 #CED7FA
Accessibility & contrast
On white
3.75
#5F7CEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#5F7CEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7CEE
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7CEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7CEE | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#428BF2
Deuteranopia (green-blind)
#277EEC
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5f7cee; /* rgb */ color: rgb(95, 124, 238); /* oklch */ color: oklch(62.2% 0.174 270.0);
Tailwind
colors: {
custom: {
50: '#98a1f4',
500: '#5f7cee',
950: '#000000',
},
}SCSS
$custom: #5f7cee; $custom-light: #98a1f4; $custom-dark: #000000;
JSON
{
"hex": "#5f7cee",
"rgb": {
"r": 95,
"g": 124,
"b": 238
},
"hsl": {
"h": 227.832,
"s": 80.791,
"l": 65.294
},
"oklch": {
"l": 0.6216,
"c": 0.17376,
"h": 270
},
"luminance": 0.23021
}Semantic roles & 50–950 ramp
primary
#5F7CEE
secondary
#ECE3BC
accent
#B208DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85