#5962BA#5962BA
#5962BA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.137 H 276.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5962BA |
|---|---|
| RGB | rgb(89, 98, 186) |
| HSL | hsl(234, 41%, 54%) |
| HSV | hsv(234, 52%, 73%) |
| CMYK | cmyk(52.2%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(44.81, 21.53, -47.71) |
| CIE-LCH | lch(44.81, 52.34, 294.29°) |
| OKLab | oklab(53.24% 0.0151 -0.1358) |
| OKLCH | oklch(53.24% 0.137 276.3) |
| XYZ | xyz(17.3476, 14.4033, 48.3109) |
| Luminance | 0.1440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.53
Dark Periwinkle
#665FD1
ΔE00 4.55
Slate Blue
#6A5ACD
ΔE00 5.53
Warm Blue
#4B57DB
ΔE00 5.89
Light Indigo
#6D5ACF
ΔE00 6.06
Dusky Blue
#475F94
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5962BA #BAB159
analogous
#5993BA #5962BA #8159BA
triadic
#5962BA #BA5962 #62BA59
tetradic
#5962BA #BA5993 #BAB159 #59BA81
square
#5962BA #BA5993 #BAB159 #59BA81
split-complementary
#5962BA #BA8159 #93BA59
monochromatic
#2D336C #3F4797 #5962BA #848BCC #AFB4DE
Accessibility & contrast
On white
5.41
#5962BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#5962BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5962BA
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5962BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5962BA | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#2F7585
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5962ba; /* rgb */ color: rgb(89, 98, 186); /* oklch */ color: oklch(53.2% 0.137 276.3);
Tailwind
colors: {
custom: {
50: '#8e8ecf',
500: '#5962ba',
950: '#000000',
},
}SCSS
$custom: #5962ba; $custom-light: #8e8ecf; $custom-dark: #000000;
JSON
{
"hex": "#5962ba",
"rgb": {
"r": 89,
"g": 98,
"b": 186
},
"hsl": {
"h": 234.433,
"s": 41.277,
"l": 53.922
},
"oklch": {
"l": 0.53244,
"c": 0.13661,
"h": 276.3
},
"luminance": 0.14404
}Semantic roles & 50–950 ramp
primary
#5962BA
secondary
#CCC8A3
accent
#C657D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82