#2959AB#2959AB
#2959AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.142 H 260.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2959AB |
|---|---|
| RGB | rgb(41, 89, 171) |
| HSL | hsl(218, 61%, 42%) |
| HSV | hsv(218, 76%, 67%) |
| CMYK | cmyk(76%, 48%, 0%, 32.9%) |
| CIE-LAB | lab(38.82, 13.38, -48.64) |
| CIE-LCH | lch(38.82, 50.45, 285.38°) |
| OKLab | oklab(47.69% -0.0237 -0.1396) |
| OKLCH | oklch(47.69% 0.142 260.4) |
| XYZ | xyz(11.8349, 10.5551, 39.9338) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.00
Denim
#1560BD
ΔE00 3.41
Denim Blue
#3B5B92
ΔE00 3.52
Dusk Blue
#26538D
ΔE00 4.15
Light Navy Blue
#2E5A88
ΔE00 4.45
Dusky Blue
#475F94
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2959AB #AB7B29
analogous
#299AAB #2959AB #3A29AB
triadic
#2959AB #AB2959 #59AB29
tetradic
#2959AB #AB299A #AB7B29 #29AB3A
square
#2959AB #AB299A #AB7B29 #29AB3A
split-complementary
#2959AB #AB3A29 #9AAB29
monochromatic
#112648 #1D3F7A #2959AB #4076D1 #7199DD
Accessibility & contrast
On white
6.75
#2959AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2959AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2959AB
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2959AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2959AB | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C62AE
Deuteranopia (green-blind)
#0456A9
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2959ab; /* rgb */ color: rgb(41, 89, 171); /* oklch */ color: oklch(47.7% 0.142 260.4);
Tailwind
colors: {
custom: {
50: '#7587c4',
500: '#2959ab',
950: '#000000',
},
}SCSS
$custom: #2959ab; $custom-light: #7587c4; $custom-dark: #000000;
JSON
{
"hex": "#2959ab",
"rgb": {
"r": 41,
"g": 89,
"b": 171
},
"hsl": {
"h": 217.846,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.47689,
"c": 0.14163,
"h": 260.4
},
"luminance": 0.10556
}Semantic roles & 50–950 ramp
primary
#2959AB
secondary
#C4A36C
accent
#A943E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82