#595AA8#595AA8
#595AA8 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.122 H 280.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #595AA8 |
|---|---|
| RGB | rgb(89, 90, 168) |
| HSL | hsl(239, 31%, 50%) |
| HSV | hsv(239, 47%, 66%) |
| CMYK | cmyk(47%, 46.4%, 0%, 34.1%) |
| CIE-LAB | lab(41.63, 20.84, -42.21) |
| CIE-LCH | lch(41.63, 47.08, 296.27°) |
| OKLab | oklab(50.49% 0.0223 -0.1197) |
| OKLCH | oklch(50.49% 0.122 280.6) |
| XYZ | xyz(14.8417, 12.2626, 38.6231) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.94
Twilight
#4E518B
ΔE00 5.52
Dusky Blue
#475F94
ΔE00 6.03
Slate Blue
#6A5ACD
ΔE00 6.60
Dark Periwinkle
#665FD1
ΔE00 6.79
Light Indigo
#6D5ACF
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#595AA8 #A8A759
analogous
#5981A8 #595AA8 #8059A8
triadic
#595AA8 #A8595A #5AA859
tetradic
#595AA8 #A85981 #A8A759 #59A880
square
#595AA8 #A85981 #A8A759 #59A880
split-complementary
#595AA8 #A88059 #81A859
monochromatic
#2E2F58 #434480 #595AA8 #8182BD #A9AAD2
Accessibility & contrast
On white
6.08
#595AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#595AA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #595AA8
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##595AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##595AA8 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A65AB
Deuteranopia (green-blind)
#355FA6
Tritanopia (blue-blind)
#3E6A79
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #595aa8; /* rgb */ color: rgb(89, 90, 168); /* oklch */ color: oklch(50.5% 0.122 280.6);
Tailwind
colors: {
custom: {
50: '#8d88c2',
500: '#595aa8',
950: '#000000',
},
}SCSS
$custom: #595aa8; $custom-light: #8d88c2; $custom-dark: #000000;
JSON
{
"hex": "#595aa8",
"rgb": {
"r": 89,
"g": 90,
"b": 168
},
"hsl": {
"h": 239.241,
"s": 31.225,
"l": 50.392
},
"oklch": {
"l": 0.50492,
"c": 0.12178,
"h": 280.6
},
"luminance": 0.12263
}Semantic roles & 50–950 ramp
primary
#595AA8
secondary
#C0C09D
accent
#C660C7
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B12
muted
#7D7C81