#5E7AF0#5E7AF0
#5E7AF0 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.8% C 0.179 H 270.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7AF0 |
|---|---|
| RGB | rgb(94, 122, 240) |
| HSL | hsl(228, 83%, 65%) |
| HSV | hsv(228, 61%, 94%) |
| CMYK | cmyk(60.8%, 49.2%, 0%, 5.9%) |
| CIE-LAB | lab(54.65, 25.39, -62.60) |
| CIE-LCH | lch(54.65, 67.55, 292.07°) |
| OKLab | oklab(61.85% 0.0012 -0.1792) |
| OKLCH | oklch(61.85% 0.179 270.4) |
| XYZ | xyz(27.2985, 22.5877, 85.3425) |
| Luminance | 0.2259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.37
Lightish Blue
#3D7AFD
ΔE00 3.71
Soft Blue
#6488EA
ΔE00 4.60
Cornflower Blue
#5170D7
ΔE00 5.02
Dodger Blue
#3E82FC
ΔE00 5.31
Clear Blue
#247AFD
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7AF0 #F0D45E
analogous
#5EC3F0 #5E7AF0 #8B5EF0
triadic
#5E7AF0 #F05E7A #7AF05E
tetradic
#5E7AF0 #F05EC3 #F0D45E #5EF08B
square
#5E7AF0 #F05EC3 #F0D45E #5EF08B
split-complementary
#5E7AF0 #F08B5E #C3F05E
monochromatic
#1234C2 #264CEB #5E7AF0 #96A8F5 #CED6FA
Accessibility & contrast
On white
3.81
#5E7AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#5E7AF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7AF0
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7AF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7AF0 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8AF4
Deuteranopia (green-blind)
#197DEE
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5e7af0; /* rgb */ color: rgb(94, 122, 240); /* oklch */ color: oklch(61.8% 0.179 270.4);
Tailwind
colors: {
custom: {
50: '#98a0f6',
500: '#5e7af0',
950: '#000000',
},
}SCSS
$custom: #5e7af0; $custom-light: #98a0f6; $custom-dark: #000000;
JSON
{
"hex": "#5e7af0",
"rgb": {
"r": 94,
"g": 122,
"b": 240
},
"hsl": {
"h": 228.493,
"s": 82.955,
"l": 65.49
},
"oklch": {
"l": 0.61845,
"c": 0.1792,
"h": 270.4
},
"luminance": 0.2259
}Semantic roles & 50–950 ramp
primary
#5E7AF0
secondary
#EDE4BC
accent
#B606DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85