#5E7BDC#5E7BDC
#5E7BDC is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.8% C 0.151 H 269.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7BDC |
|---|---|
| RGB | rgb(94, 123, 220) |
| HSL | hsl(226, 64%, 62%) |
| HSV | hsv(226, 57%, 86%) |
| CMYK | cmyk(57.3%, 44.1%, 0%, 13.7%) |
| CIE-LAB | lab(53.72, 18.18, -52.89) |
| CIE-LCH | lch(53.72, 55.93, 288.97°) |
| OKLab | oklab(60.76% -0.0025 -0.1506) |
| OKLCH | oklch(60.76% 0.151 269) |
| XYZ | xyz(24.6130, 21.7110, 70.5899) |
| Luminance | 0.2171 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.99
Cornflower
#6A79F7
ΔE00 4.44
Lightish Blue
#3D7AFD
ΔE00 4.55
Soft Blue
#6488EA
ΔE00 4.56
Dodger Blue
#3E82FC
ΔE00 5.63
Clear Blue
#247AFD
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7BDC #DCBF5E
analogous
#5EBADC #5E7BDC #805EDC
triadic
#5E7BDC #DC5E7B #7BDC5E
tetradic
#5E7BDC #DC5EBA #DCBF5E #5EDC80
square
#5E7BDC #DC5EBA #DCBF5E #5EDC80
split-complementary
#5E7BDC #DC805E #BADC5E
monochromatic
#223F9D #2D53D0 #5E7BDC #90A4E7 #C3CDF2
Accessibility & contrast
On white
3.93
#5E7BDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#5E7BDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7BDC
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7BDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7BDC | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5e7bdc; /* rgb */ color: rgb(94, 123, 220); /* oklch */ color: oklch(60.8% 0.151 269.0);
Tailwind
colors: {
custom: {
50: '#95a0e7',
500: '#5e7bdc',
950: '#000000',
},
}SCSS
$custom: #5e7bdc; $custom-light: #95a0e7; $custom-dark: #000000;
JSON
{
"hex": "#5e7bdc",
"rgb": {
"r": 94,
"g": 123,
"b": 220
},
"hsl": {
"h": 226.19,
"s": 64.286,
"l": 61.569
},
"oklch": {
"l": 0.60757,
"c": 0.15067,
"h": 269
},
"luminance": 0.21713
}Semantic roles & 50–950 ramp
primary
#5E7BDC
secondary
#E2D8B3
accent
#A319CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84