#5456AF#5456AF
#5456AF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.8% C 0.139 H 279.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5456AF |
|---|---|
| RGB | rgb(84, 86, 175) |
| HSL | hsl(239, 36%, 51%) |
| HSV | hsv(239, 52%, 69%) |
| CMYK | cmyk(52%, 50.9%, 0%, 31.4%) |
| CIE-LAB | lab(40.63, 24.41, -47.97) |
| CIE-LCH | lch(40.63, 53.83, 296.97°) |
| OKLab | oklab(49.78% 0.022 -0.1368) |
| OKLCH | oklch(49.78% 0.139 279.1) |
| XYZ | xyz(14.7194, 11.6347, 42.0192) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.07
Slate Blue
#6A5ACD
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.30
Twilight
#4E518B
ΔE00 6.31
Warm Blue
#4B57DB
ΔE00 6.32
Dark Periwinkle
#665FD1
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5456AF #AFAD54
analogous
#5483AF #5456AF #7F54AF
triadic
#5456AF #AF5456 #56AF54
tetradic
#5456AF #AF5483 #AFAD54 #54AF7F
square
#5456AF #AF5483 #AFAD54 #54AF7F
split-complementary
#5456AF #AF7F54 #83AF54
monochromatic
#2C2D5D #3F4187 #5456AF #7E7FC3 #A7A8D6
Accessibility & contrast
On white
6.31
#5456AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#5456AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5456AF
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5456AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5456AF | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#215CAD
Tritanopia (blue-blind)
#2E6A7A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5456af; /* rgb */ color: rgb(84, 86, 175); /* oklch */ color: oklch(49.8% 0.139 279.1);
Tailwind
colors: {
custom: {
50: '#8b85c7',
500: '#5456af',
950: '#000000',
},
}SCSS
$custom: #5456af; $custom-light: #8b85c7; $custom-dark: #000000;
JSON
{
"hex": "#5456af",
"rgb": {
"r": 84,
"g": 86,
"b": 175
},
"hsl": {
"h": 238.681,
"s": 36.255,
"l": 50.784
},
"oklch": {
"l": 0.49778,
"c": 0.13854,
"h": 279.1
},
"luminance": 0.11636
}Semantic roles & 50–950 ramp
primary
#5456AF
secondary
#C4C39B
accent
#CA5CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82