#5959AF#5959AF
#5959AF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.133 H 280.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5959AF |
|---|---|
| RGB | rgb(89, 89, 175) |
| HSL | hsl(240, 35%, 52%) |
| HSV | hsv(240, 49%, 69%) |
| CMYK | cmyk(49.1%, 49.1%, 0%, 31.4%) |
| CIE-LAB | lab(41.79, 23.66, -46.10) |
| CIE-LCH | lch(41.79, 51.82, 297.17°) |
| OKLab | oklab(50.75% 0.0244 -0.1311) |
| OKLCH | oklch(50.75% 0.133 280.5) |
| XYZ | xyz(15.4277, 12.3629, 42.1225) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.76
Slate Blue
#6A5ACD
ΔE00 5.54
Dark Periwinkle
#665FD1
ΔE00 5.79
Light Indigo
#6D5ACF
ΔE00 6.10
Twilight
#4E518B
ΔE00 6.50
Warm Blue
#4B57DB
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5959AF #AFAF59
analogous
#5984AF #5959AF #8459AF
triadic
#5959AF #AF5959 #59AF59
tetradic
#5959AF #AF5984 #AFAF59 #59AF84
square
#5959AF #AF5984 #AFAF59 #59AF84
split-complementary
#5959AF #AF8459 #84AF59
monochromatic
#2E2E60 #424289 #5959AF #8282C3 #ACACD7
Accessibility & contrast
On white
6.05
#5959AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5959AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5959AF
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5959AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5959AF | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#2C5FAD
Tritanopia (blue-blind)
#396B7C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5959af; /* rgb */ color: rgb(89, 89, 175); /* oklch */ color: oklch(50.7% 0.133 280.5);
Tailwind
colors: {
custom: {
50: '#8d87c7',
500: '#5959af',
950: '#000000',
},
}SCSS
$custom: #5959af; $custom-light: #8d87c7; $custom-dark: #000000;
JSON
{
"hex": "#5959af",
"rgb": {
"r": 89,
"g": 89,
"b": 175
},
"hsl": {
"h": 240,
"s": 34.959,
"l": 51.765
},
"oklch": {
"l": 0.50746,
"c": 0.13337,
"h": 280.5
},
"luminance": 0.12364
}Semantic roles & 50–950 ramp
primary
#5959AF
secondary
#C5C59F
accent
#CB5DCB
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82