#5E7BEE#5E7BEE
#5E7BEE is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.175 H 270.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7BEE |
|---|---|
| RGB | rgb(94, 123, 238) |
| HSL | hsl(228, 81%, 65%) |
| HSV | hsv(228, 61%, 93%) |
| CMYK | cmyk(60.5%, 48.3%, 0%, 6.7%) |
| CIE-LAB | lab(54.78, 24.11, -61.27) |
| CIE-LCH | lch(54.78, 65.85, 291.48°) |
| OKLab | oklab(61.91% 0 -0.1753) |
| OKLCH | oklch(61.91% 0.175 270) |
| XYZ | xyz(27.1265, 22.7164, 83.8275) |
| Luminance | 0.2272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.68
Lightish Blue
#3D7AFD
ΔE00 3.64
Soft Blue
#6488EA
ΔE00 4.24
Cornflower Blue
#5170D7
ΔE00 5.04
Dodger Blue
#3E82FC
ΔE00 5.06
Clear Blue
#247AFD
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7BEE #EED15E
analogous
#5EC3EE #5E7BEE #895EEE
triadic
#5E7BEE #EE5E7B #7BEE5E
tetradic
#5E7BEE #EE5EC3 #EED15E #5EEE89
square
#5E7BEE #EE5EC3 #EED15E #5EEE89
split-complementary
#5E7BEE #EE895E #C3EE5E
monochromatic
#1436BE #274EE8 #5E7BEE #95A8F4 #CDD6FA
Accessibility & contrast
On white
3.79
#5E7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#5E7BEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7BEE
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7BEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7BEE | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8AF2
Deuteranopia (green-blind)
#237DEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5e7bee; /* rgb */ color: rgb(94, 123, 238); /* oklch */ color: oklch(61.9% 0.175 270.0);
Tailwind
colors: {
custom: {
50: '#98a0f4',
500: '#5e7bee',
950: '#000000',
},
}SCSS
$custom: #5e7bee; $custom-light: #98a0f4; $custom-dark: #000000;
JSON
{
"hex": "#5e7bee",
"rgb": {
"r": 94,
"g": 123,
"b": 238
},
"hsl": {
"h": 227.917,
"s": 80.899,
"l": 65.098
},
"oklch": {
"l": 0.61907,
"c": 0.17528,
"h": 270
},
"luminance": 0.22719
}Semantic roles & 50–950 ramp
primary
#5E7BEE
secondary
#ECE2BB
accent
#B208DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85