#5E7BEF#5E7BEF
#5E7BEF is a mid, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.177 H 270.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7BEF |
|---|---|
| RGB | rgb(94, 123, 239) |
| HSL | hsl(228, 82%, 65%) |
| HSV | hsv(228, 61%, 94%) |
| CMYK | cmyk(60.7%, 48.5%, 0%, 6.3%) |
| CIE-LAB | lab(54.84, 24.45, -61.73) |
| CIE-LCH | lch(54.84, 66.39, 291.60°) |
| OKLab | oklab(61.97% 0.0001 -0.1766) |
| OKLCH | oklch(61.97% 0.177 270) |
| XYZ | xyz(27.2738, 22.7753, 84.6034) |
| Luminance | 0.2278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.60
Lightish Blue
#3D7AFD
ΔE00 3.63
Soft Blue
#6488EA
ΔE00 4.25
Dodger Blue
#3E82FC
ΔE00 5.06
Cornflower Blue
#5170D7
ΔE00 5.13
Clear Blue
#247AFD
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7BEF #EFD25E
analogous
#5EC3EF #5E7BEF #895EEF
triadic
#5E7BEF #EF5E7B #7BEF5E
tetradic
#5E7BEF #EF5EC3 #EFD25E #5EEF89
square
#5E7BEF #EF5EC3 #EFD25E #5EEF89
split-complementary
#5E7BEF #EF895E #C3EF5E
monochromatic
#1336C0 #264DE9 #5E7BEF #96A9F5 #CDD6FA
Accessibility & contrast
On white
3.78
#5E7BEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#5E7BEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7BEF
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7BEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7BEF | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#207DED
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5e7bef; /* rgb */ color: rgb(94, 123, 239); /* oklch */ color: oklch(62.0% 0.177 270.0);
Tailwind
colors: {
custom: {
50: '#98a0f5',
500: '#5e7bef',
950: '#000000',
},
}SCSS
$custom: #5e7bef; $custom-light: #98a0f5; $custom-dark: #000000;
JSON
{
"hex": "#5e7bef",
"rgb": {
"r": 94,
"g": 123,
"b": 239
},
"hsl": {
"h": 228,
"s": 81.921,
"l": 65.294
},
"oklch": {
"l": 0.61973,
"c": 0.17663,
"h": 270
},
"luminance": 0.22778
}Semantic roles & 50–950 ramp
primary
#5E7BEF
secondary
#EDE3BC
accent
#B307DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85