#5F7FEE#5F7FEE
#5F7FEE is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.8% C 0.170 H 269.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7FEE |
|---|---|
| RGB | rgb(95, 127, 238) |
| HSL | hsl(227, 81%, 65%) |
| HSV | hsv(227, 60%, 93%) |
| CMYK | cmyk(60.1%, 46.6%, 0%, 6.7%) |
| CIE-LAB | lab(55.87, 21.86, -59.52) |
| CIE-LCH | lch(55.87, 63.41, 290.17°) |
| OKLab | oklab(62.75% -0.003 -0.17) |
| OKLCH | oklch(62.75% 0.17 269) |
| XYZ | xyz(27.7361, 23.7824, 84.0012) |
| Luminance | 0.2379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.92
Cornflower
#6A79F7
ΔE00 3.43
Lightish Blue
#3D7AFD
ΔE00 3.67
Dodger Blue
#3E82FC
ΔE00 4.29
Clear Blue
#247AFD
ΔE00 5.22
Cornflower Blue
#5170D7
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7FEE #EECE5F
analogous
#5FC7EE #5F7FEE #865FEE
triadic
#5F7FEE #EE5F7F #7FEE5F
tetradic
#5F7FEE #EE5FC7 #EECE5F #5FEE86
square
#5F7FEE #EE5FC7 #EECE5F #5FEE86
split-complementary
#5F7FEE #EE865F #C7EE5F
monochromatic
#143ABE #2853E8 #5F7FEE #96ABF4 #CED8FA
Accessibility & contrast
On white
3.65
#5F7FEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#5F7FEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7FEE
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7FEE | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#488DF2
Deuteranopia (green-blind)
#3080EC
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5f7fee; /* rgb */ color: rgb(95, 127, 238); /* oklch */ color: oklch(62.8% 0.170 269.0);
Tailwind
colors: {
custom: {
50: '#98a3f4',
500: '#5f7fee',
950: '#000000',
},
}SCSS
$custom: #5f7fee; $custom-light: #98a3f4; $custom-dark: #000000;
JSON
{
"hex": "#5f7fee",
"rgb": {
"r": 95,
"g": 127,
"b": 238
},
"hsl": {
"h": 226.573,
"s": 80.791,
"l": 65.294
},
"oklch": {
"l": 0.62751,
"c": 0.17008,
"h": 269
},
"luminance": 0.23785
}Semantic roles & 50–950 ramp
primary
#5F7FEE
secondary
#ECE2BC
accent
#AE08DD
background
#FAFAFF
surface
#F3F3FE
border
#CDCDD6
text
#0F0F17
muted
#7F7F85