#595AF6#595AF6
#595AF6 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.3% C 0.227 H 276.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #595AF6 |
|---|---|
| RGB | rgb(89, 90, 246) |
| HSL | hsl(240, 90%, 66%) |
| HSV | hsv(240, 64%, 96%) |
| CMYK | cmyk(63.8%, 63.4%, 0%, 3.5%) |
| CIE-LAB | lab(47.09, 45.86, -78.22) |
| CIE-LCH | lch(47.09, 90.67, 300.38°) |
| OKLab | oklab(56.27% 0.0237 -0.2255) |
| OKLCH | oklch(56.27% 0.227 276) |
| XYZ | xyz(24.4051, 16.0879, 88.9901) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.40
Dark Periwinkle
#665FD1
ΔE00 5.04
Electric Blue
#0652FF
ΔE00 5.27
Light Indigo
#6D5ACF
ΔE00 5.78
Slate Blue
#6A5ACD
ΔE00 5.82
Azul
#1D5DEC
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#595AF6 #F6F559
analogous
#59A8F6 #595AF6 #A659F6
triadic
#595AF6 #F6595A #5AF659
tetradic
#595AF6 #F659A8 #F6F559 #59F6A6
square
#595AF6 #F659A8 #F6F559 #59F6A6
split-complementary
#595AF6 #F6A659 #A8F659
monochromatic
#0B0CCA #1F20F3 #595AF6 #9394F9 #CDCDFC
Accessibility & contrast
On white
4.98
#595AF6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#595AF6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #595AF6
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##595AF6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##595AF6 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#0069F3
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #595af6; /* rgb */ color: rgb(89, 90, 246); /* oklch */ color: oklch(56.3% 0.227 276.0);
Tailwind
colors: {
custom: {
50: '#9989fa',
500: '#595af6',
950: '#000000',
},
}SCSS
$custom: #595af6; $custom-light: #9989fa; $custom-dark: #000000;
JSON
{
"hex": "#595af6",
"rgb": {
"r": 89,
"g": 90,
"b": 246
},
"hsl": {
"h": 239.618,
"s": 89.714,
"l": 65.686
},
"oklch": {
"l": 0.56273,
"c": 0.22677,
"h": 276
},
"luminance": 0.1609
}Semantic roles & 50–950 ramp
primary
#595AF6
secondary
#F0EFBB
accent
#E400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85