#595AF2#595AF2
#595AF2 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.222 H 276.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #595AF2 |
|---|---|
| RGB | rgb(89, 90, 242) |
| HSL | hsl(240, 85%, 65%) |
| HSV | hsv(240, 63%, 95%) |
| CMYK | cmyk(63.2%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(46.77, 44.58, -76.50) |
| CIE-LCH | lch(46.77, 88.54, 300.23°) |
| OKLab | oklab(55.94% 0.024 -0.2205) |
| OKLCH | oklch(55.94% 0.222 276.2) |
| XYZ | xyz(23.7978, 15.8450, 85.7915) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.94
Dark Periwinkle
#665FD1
ΔE00 4.64
Electric Blue
#0652FF
ΔE00 5.21
Slate Blue
#6A5ACD
ΔE00 5.41
Light Indigo
#6D5ACF
ΔE00 5.41
Azul
#1D5DEC
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#595AF2 #F2F159
analogous
#59A6F2 #595AF2 #A559F2
triadic
#595AF2 #F2595A #5AF259
tetradic
#595AF2 #F259A6 #F2F159 #59F2A5
square
#595AF2 #F259A6 #F2F159 #59F2A5
split-complementary
#595AF2 #F2A559 #A6F259
monochromatic
#0F10C1 #2022EE #595AF2 #9292F6 #CBCBFB
Accessibility & contrast
On white
5.04
#595AF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#595AF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #595AF2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##595AF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##595AF2 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #595af2; /* rgb */ color: rgb(89, 90, 242); /* oklch */ color: oklch(55.9% 0.222 276.2);
Tailwind
colors: {
custom: {
50: '#9889f7',
500: '#595af2',
950: '#000000',
},
}SCSS
$custom: #595af2; $custom-light: #9889f7; $custom-dark: #000000;
JSON
{
"hex": "#595af2",
"rgb": {
"r": 89,
"g": 90,
"b": 242
},
"hsl": {
"h": 239.608,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.55941,
"c": 0.22179,
"h": 276.2
},
"luminance": 0.15847
}Semantic roles & 50–950 ramp
primary
#595AF2
secondary
#EDEDB9
accent
#E104E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85