#5959BB#5959BB
#5959BB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.6% C 0.150 H 279.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5959BB |
|---|---|
| RGB | rgb(89, 89, 187) |
| HSL | hsl(240, 42%, 54%) |
| HSV | hsv(240, 52%, 73%) |
| CMYK | cmyk(52.4%, 52.4%, 0%, 26.7%) |
| CIE-LAB | lab(42.54, 27.47, -51.92) |
| CIE-LCH | lch(42.54, 58.73, 297.88°) |
| OKLab | oklab(51.56% 0.0254 -0.1482) |
| OKLCH | oklch(51.56% 0.15 279.7) |
| XYZ | xyz(16.6591, 12.8555, 48.6076) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.26
Slate Blue
#6A5ACD
ΔE00 4.10
Dark Periwinkle
#665FD1
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 4.71
Warm Blue
#4B57DB
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5959BB #BBBB59
analogous
#598ABB #5959BB #8A59BB
triadic
#5959BB #BB5959 #59BB59
tetradic
#5959BB #BB598A #BBBB59 #59BB8A
square
#5959BB #BB598A #BBBB59 #59BB8A
split-complementary
#5959BB #BB8A59 #8ABB59
monochromatic
#2D2D6D #3E3E98 #5959BB #8484CD #B0B0DF
Accessibility & contrast
On white
5.88
#5959BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5959BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5959BB
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5959BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5959BB | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#2F6F81
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5959bb; /* rgb */ color: rgb(89, 89, 187); /* oklch */ color: oklch(51.6% 0.150 279.7);
Tailwind
colors: {
custom: {
50: '#8f88d0',
500: '#5959bb',
950: '#000000',
},
}SCSS
$custom: #5959bb; $custom-light: #8f88d0; $custom-dark: #000000;
JSON
{
"hex": "#5959bb",
"rgb": {
"r": 89,
"g": 89,
"b": 187
},
"hsl": {
"h": 240,
"s": 41.88,
"l": 54.118
},
"oklch": {
"l": 0.51559,
"c": 0.1504,
"h": 279.7
},
"luminance": 0.12856
}Semantic roles & 50–950 ramp
primary
#5959BB
secondary
#CDCDA3
accent
#D256D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82