#2946AB#2946AB
#2946AB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.165 H 267.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2946AB |
|---|---|
| RGB | rgb(41, 70, 171) |
| HSL | hsl(227, 61%, 42%) |
| HSV | hsv(227, 76%, 67%) |
| CMYK | cmyk(76%, 59.1%, 0%, 32.9%) |
| CIE-LAB | lab(33.54, 26.00, -57.19) |
| CIE-LCH | lch(33.54, 62.82, 294.45°) |
| OKLab | oklab(43.69% -0.0088 -0.1651) |
| OKLCH | oklch(43.69% 0.165 267) |
| XYZ | xyz(10.4527, 7.7909, 39.4731) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.78
Blue Blue
#2242C7
ΔE00 4.10
Sapphire (survey)
#2138AB
ΔE00 4.30
Sapphire
#0F52BA
ΔE00 4.95
Cobalt (survey)
#1E488F
ΔE00 5.01
Blueberry
#464196
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2946AB #AB8E29
analogous
#2987AB #2946AB #4D29AB
triadic
#2946AB #AB2946 #46AB29
tetradic
#2946AB #AB2987 #AB8E29 #29AB4D
square
#2946AB #AB2987 #AB8E29 #29AB4D
split-complementary
#2946AB #AB4D29 #87AB29
monochromatic
#111E48 #1D327A #2946AB #4060D1 #7189DD
Accessibility & contrast
On white
8.21
#2946AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2946AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2946AB
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2946AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2946AB | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2946ab; /* rgb */ color: rgb(41, 70, 171); /* oklch */ color: oklch(43.7% 0.165 267.0);
Tailwind
colors: {
custom: {
50: '#7679c5',
500: '#2946ab',
950: '#000000',
},
}SCSS
$custom: #2946ab; $custom-light: #7679c5; $custom-dark: #000000;
JSON
{
"hex": "#2946ab",
"rgb": {
"r": 41,
"g": 70,
"b": 171
},
"hsl": {
"h": 226.615,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.43688,
"c": 0.16534,
"h": 267
},
"luminance": 0.07792
}Semantic roles & 50–950 ramp
primary
#2946AB
secondary
#C4B06C
accent
#C043E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82