#595FE4#595FE4
#595FE4 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.7% C 0.198 H 275.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #595FE4 |
|---|---|
| RGB | rgb(89, 95, 228) |
| HSL | hsl(237, 72%, 62%) |
| HSV | hsv(237, 61%, 89%) |
| CMYK | cmyk(61%, 58.3%, 0%, 10.6%) |
| CIE-LAB | lab(46.85, 37.05, -68.48) |
| CIE-LCH | lch(46.85, 77.87, 298.42°) |
| OKLab | oklab(55.67% 0.0204 -0.1969) |
| OKLCH | oklch(55.67% 0.198 275.9) |
| XYZ | xyz(22.2111, 15.9079, 75.2838) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.22
Warm Blue
#4B57DB
ΔE00 3.30
Slate Blue
#6A5ACD
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 4.80
Royal Blue
#4169E1
ΔE00 5.27
Iris
#6258C4
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#595FE4 #E4DE59
analogous
#59A5E4 #595FE4 #9959E4
triadic
#595FE4 #E4595F #5FE459
tetradic
#595FE4 #E459A5 #E4DE59 #59E499
square
#595FE4 #E459A5 #E4DE59 #59E499
split-complementary
#595FE4 #E49959 #A5E459
monochromatic
#1B21A7 #242CDB #595FE4 #8E92ED #C2C4F5
Accessibility & contrast
On white
5.02
#595FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#595FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #595FE4
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##595FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##595FE4 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #595fe4; /* rgb */ color: rgb(89, 95, 228); /* oklch */ color: oklch(55.7% 0.198 275.9);
Tailwind
colors: {
custom: {
50: '#958ced',
500: '#595fe4',
950: '#000000',
},
}SCSS
$custom: #595fe4; $custom-light: #958ced; $custom-dark: #000000;
JSON
{
"hex": "#595fe4",
"rgb": {
"r": 89,
"g": 95,
"b": 228
},
"hsl": {
"h": 237.41,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.55669,
"c": 0.19797,
"h": 275.9
},
"luminance": 0.1591
}Semantic roles & 50–950 ramp
primary
#595FE4
secondary
#E6E4B3
accent
#CC11D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84