#56589F#56589F
#56589F is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.3% C 0.112 H 280.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #56589F |
|---|---|
| RGB | rgb(86, 88, 159) |
| HSL | hsl(238, 30%, 48%) |
| HSV | hsv(238, 46%, 62%) |
| CMYK | cmyk(45.9%, 44.7%, 0%, 37.6%) |
| CIE-LAB | lab(40.35, 18.55, -38.92) |
| CIE-LCH | lch(40.35, 43.12, 295.48°) |
| OKLab | oklab(49.29% 0.0199 -0.1102) |
| OKLCH | oklch(49.29% 0.112 280.2) |
| XYZ | xyz(13.5836, 11.4604, 34.2905) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.92
Dusky Blue
#475F94
ΔE00 5.54
Dusk
#4E5481
ΔE00 5.75
Iris
#6258C4
ΔE00 6.40
Denim Blue
#3B5B92
ΔE00 6.98
Blueberry
#464196
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56589F #9F9D56
analogous
#567C9F #56589F #78569F
triadic
#56589F #9F5658 #589F56
tetradic
#56589F #9F567C #9F9D56 #569F78
square
#56589F #9F567C #9F9D56 #569F78
split-complementary
#56589F #9F7856 #7C9F56
monochromatic
#2B2C50 #414277 #56589F #7B7CB7 #A2A4CD
Accessibility & contrast
On white
6.38
#56589F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#56589F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #56589F
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56589F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56589F | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C62A2
Deuteranopia (green-blind)
#385C9D
Tritanopia (blue-blind)
#3D6774
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #56589f; /* rgb */ color: rgb(86, 88, 159); /* oklch */ color: oklch(49.3% 0.112 280.2);
Tailwind
colors: {
custom: {
50: '#8a87bc',
500: '#56589f',
950: '#000000',
},
}SCSS
$custom: #56589f; $custom-light: #8a87bc; $custom-dark: #000000;
JSON
{
"hex": "#56589f",
"rgb": {
"r": 86,
"g": 88,
"b": 159
},
"hsl": {
"h": 238.356,
"s": 29.796,
"l": 48.039
},
"oklch": {
"l": 0.4929,
"c": 0.11195,
"h": 280.2
},
"luminance": 0.11461
}Semantic roles & 50–950 ramp
primary
#56589F
secondary
#BAB996
accent
#C362C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B12
muted
#7D7C81