#595CB8#595CB8
#595CB8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.142 H 278.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #595CB8 |
|---|---|
| RGB | rgb(89, 92, 184) |
| HSL | hsl(238, 40%, 54%) |
| HSV | hsv(238, 52%, 72%) |
| CMYK | cmyk(51.6%, 50%, 0%, 27.8%) |
| CIE-LAB | lab(43.12, 24.64, -49.24) |
| CIE-LCH | lch(43.12, 55.06, 296.58°) |
| OKLab | oklab(51.93% 0.0218 -0.1403) |
| OKLCH | oklch(51.93% 0.142 278.8) |
| XYZ | xyz(16.5960, 13.2378, 47.0188) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.08
Dark Periwinkle
#665FD1
ΔE00 4.44
Slate Blue
#6A5ACD
ΔE00 4.66
Light Indigo
#6D5ACF
ΔE00 5.25
Warm Blue
#4B57DB
ΔE00 5.36
Dusky Blue
#475F94
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#595CB8 #B8B559
analogous
#598BB8 #595CB8 #8559B8
triadic
#595CB8 #B8595C #5CB859
tetradic
#595CB8 #B8598B #B8B559 #59B885
square
#595CB8 #B8598B #B8B559 #59B885
split-complementary
#595CB8 #B88559 #8BB859
monochromatic
#2D2F69 #3F4294 #595CB8 #8486CA #AFB0DD
Accessibility & contrast
On white
5.76
#595CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#595CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #595CB8
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##595CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##595CB8 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306ABB
Deuteranopia (green-blind)
#2662B6
Tritanopia (blue-blind)
#327081
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #595cb8; /* rgb */ color: rgb(89, 92, 184); /* oklch */ color: oklch(51.9% 0.142 278.8);
Tailwind
colors: {
custom: {
50: '#8e8ace',
500: '#595cb8',
950: '#000000',
},
}SCSS
$custom: #595cb8; $custom-light: #8e8ace; $custom-dark: #000000;
JSON
{
"hex": "#595cb8",
"rgb": {
"r": 89,
"g": 92,
"b": 184
},
"hsl": {
"h": 238.105,
"s": 40.084,
"l": 53.529
},
"oklch": {
"l": 0.5193,
"c": 0.14202,
"h": 278.8
},
"luminance": 0.13239
}Semantic roles & 50–950 ramp
primary
#595CB8
secondary
#CBC9A2
accent
#CC58D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82