#5456D4#5456D4
#5456D4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.189 H 277.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5456D4 |
|---|---|
| RGB | rgb(84, 86, 212) |
| HSL | hsl(239, 60%, 58%) |
| HSV | hsv(239, 60%, 83%) |
| CMYK | cmyk(60.4%, 59.4%, 0%, 16.9%) |
| CIE-LAB | lab(43.20, 36.48, -65.33) |
| CIE-LCH | lch(43.20, 74.82, 299.18°) |
| OKLab | oklab(52.51% 0.023 -0.1878) |
| OKLCH | oklch(52.51% 0.189 277) |
| XYZ | xyz(18.8638, 13.2924, 63.8462) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.50
Iris
#6258C4
ΔE00 3.20
Dark Periwinkle
#665FD1
ΔE00 3.73
Slate Blue
#6A5ACD
ΔE00 3.82
Light Indigo
#6D5ACF
ΔE00 4.27
Electric Blue
#0652FF
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5456D4 #D4D254
analogous
#5496D4 #5456D4 #9254D4
triadic
#5456D4 #D45456 #56D454
tetradic
#5456D4 #D45496 #D4D254 #54D492
square
#5456D4 #D45496 #D4D254 #54D492
split-complementary
#5456D4 #D49254 #96D454
monochromatic
#23258B #2F31BC #5456D4 #8586E0 #B6B7ED
Accessibility & contrast
On white
5.74
#5456D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#5456D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5456D4
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5456D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5456D4 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5456d4; /* rgb */ color: rgb(84, 86, 212); /* oklch */ color: oklch(52.5% 0.189 277.0);
Tailwind
colors: {
custom: {
50: '#9086e2',
500: '#5456d4',
950: '#000000',
},
}SCSS
$custom: #5456d4; $custom-light: #9086e2; $custom-dark: #000000;
JSON
{
"hex": "#5456d4",
"rgb": {
"r": 84,
"g": 86,
"b": 212
},
"hsl": {
"h": 239.063,
"s": 59.813,
"l": 58.039
},
"oklch": {
"l": 0.5251,
"c": 0.18925,
"h": 277
},
"luminance": 0.13294
}Semantic roles & 50–950 ramp
primary
#5456D4
secondary
#DBDBA8
accent
#E145E3
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B15
muted
#7E7C84