#5457CF#5457CF
#5457CF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.181 H 277.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5457CF |
|---|---|
| RGB | rgb(84, 87, 207) |
| HSL | hsl(239, 56%, 57%) |
| HSV | hsv(239, 59%, 81%) |
| CMYK | cmyk(59.4%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(43.07, 34.23, -62.67) |
| CIE-LCH | lch(43.07, 71.41, 298.64°) |
| OKLab | oklab(52.3% 0.0222 -0.18) |
| OKLCH | oklch(52.3% 0.181 277) |
| XYZ | xyz(18.3232, 13.2048, 60.6026) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.86
Iris
#6258C4
ΔE00 2.83
Dark Periwinkle
#665FD1
ΔE00 3.62
Slate Blue
#6A5ACD
ΔE00 3.77
Light Indigo
#6D5ACF
ΔE00 4.29
Azul
#1D5DEC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5457CF #CFCC54
analogous
#5494CF #5457CF #8F54CF
triadic
#5457CF #CF5457 #57CF54
tetradic
#5457CF #CF5494 #CFCC54 #54CF8F
square
#5457CF #CF5494 #CFCC54 #54CF8F
split-complementary
#5457CF #CF8F54 #94CF54
monochromatic
#252784 #3236B3 #5457CF #8486DC #B4B5EA
Accessibility & contrast
On white
5.77
#5457CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#5457CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5457CF
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5457CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5457CF | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5457cf; /* rgb */ color: rgb(84, 87, 207); /* oklch */ color: oklch(52.3% 0.181 277.0);
Tailwind
colors: {
custom: {
50: '#9086de',
500: '#5457cf',
950: '#000000',
},
}SCSS
$custom: #5457cf; $custom-light: #9086de; $custom-dark: #000000;
JSON
{
"hex": "#5457cf",
"rgb": {
"r": 84,
"g": 87,
"b": 207
},
"hsl": {
"h": 238.537,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.52297,
"c": 0.18137,
"h": 277
},
"luminance": 0.13206
}Semantic roles & 50–950 ramp
primary
#5457CF
secondary
#D8D7A6
accent
#DC48DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83