#5057DC#5057DC
#5057DC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.1% C 0.199 H 275.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5057DC |
|---|---|
| RGB | rgb(80, 87, 220) |
| HSL | hsl(237, 67%, 59%) |
| HSV | hsv(237, 64%, 86%) |
| CMYK | cmyk(63.6%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(43.78, 37.87, -68.97) |
| CIE-LCH | lch(43.78, 78.68, 298.77°) |
| OKLab | oklab(53.06% 0.0174 -0.1986) |
| OKLCH | oklch(53.06% 0.199 275) |
| XYZ | xyz(19.6305, 13.6875, 69.3037) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.71
Dark Periwinkle
#665FD1
ΔE00 4.05
Iris
#6258C4
ΔE00 4.24
Slate Blue
#6A5ACD
ΔE00 4.51
Light Indigo
#6D5ACF
ΔE00 4.88
Electric Blue
#0652FF
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5057DC #DCD550
analogous
#509DDC #5057DC #8F50DC
triadic
#5057DC #DC5057 #57DC50
tetradic
#5057DC #DC509D #DCD550 #50DC8F
square
#5057DC #DC509D #DCD550 #50DC8F
split-complementary
#5057DC #DC8F50 #9DDC50
monochromatic
#1E2494 #2830C7 #5057DC #8388E6 #B6B9F0
Accessibility & contrast
On white
5.62
#5057DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#5057DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5057DC
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5057DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5057DC | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5057dc; /* rgb */ color: rgb(80, 87, 220); /* oklch */ color: oklch(53.1% 0.199 275.0);
Tailwind
colors: {
custom: {
50: '#9086e8',
500: '#5057dc',
950: '#000000',
},
}SCSS
$custom: #5057dc; $custom-light: #9086e8; $custom-dark: #000000;
JSON
{
"hex": "#5057dc",
"rgb": {
"r": 80,
"g": 87,
"b": 220
},
"hsl": {
"h": 237,
"s": 66.667,
"l": 58.824
},
"oklch": {
"l": 0.5306,
"c": 0.19939,
"h": 275
},
"luminance": 0.13689
}Semantic roles & 50–950 ramp
primary
#5057DC
secondary
#DFDDA8
accent
#E13EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84