#2959BA#2959BA
#2959BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.162 H 262.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2959BA |
|---|---|
| RGB | rgb(41, 89, 186) |
| HSL | hsl(220, 64%, 45%) |
| HSV | hsv(220, 78%, 73%) |
| CMYK | cmyk(78%, 52.2%, 0%, 27.1%) |
| CIE-LAB | lab(39.85, 19.16, -55.81) |
| CIE-LCH | lch(39.85, 59.01, 288.95°) |
| OKLab | oklab(48.8% -0.0216 -0.1607) |
| OKLCH | oklch(48.8% 0.162 262.3) |
| XYZ | xyz(13.3466, 11.1598, 47.8955) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.42
Denim
#1560BD
ΔE00 3.40
Denim Blue
#3B5B92
ΔE00 5.08
Dusk Blue
#26538D
ΔE00 5.98
Cobalt
#0047AB
ΔE00 6.03
Dusky Blue
#475F94
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2959BA #BA8A29
analogous
#29A2BA #2959BA #4229BA
triadic
#2959BA #BA2959 #59BA29
tetradic
#2959BA #BA29A2 #BA8A29 #29BA42
square
#2959BA #BA29A2 #BA8A29 #29BA42
split-complementary
#2959BA #BA4229 #A2BA29
monochromatic
#132956 #1E4188 #2959BA #4978D7 #7B9DE2
Accessibility & contrast
On white
6.50
#2959BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2959BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2959BA
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2959BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2959BA | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1665BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2959ba; /* rgb */ color: rgb(41, 89, 186); /* oklch */ color: oklch(48.8% 0.162 262.3);
Tailwind
colors: {
custom: {
50: '#7987cf',
500: '#2959ba',
950: '#000000',
},
}SCSS
$custom: #2959ba; $custom-light: #7987cf; $custom-dark: #000000;
JSON
{
"hex": "#2959ba",
"rgb": {
"r": 41,
"g": 89,
"b": 186
},
"hsl": {
"h": 220.138,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.48803,
"c": 0.1622,
"h": 262.3
},
"luminance": 0.11161
}Semantic roles & 50–950 ramp
primary
#2959BA
secondary
#CAAE75
accent
#B041E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82