#2946A2#2946A2
#2946A2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.153 H 266.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2946A2 |
|---|---|
| RGB | rgb(41, 70, 162) |
| HSL | hsl(226, 60%, 40%) |
| HSV | hsv(226, 75%, 64%) |
| CMYK | cmyk(74.7%, 56.8%, 0%, 36.5%) |
| CIE-LAB | lab(32.83, 22.57, -52.95) |
| CIE-LCH | lch(32.83, 57.56, 293.08°) |
| OKLab | oklab(42.93% -0.0091 -0.1527) |
| OKLCH | oklch(42.93% 0.153 266.6) |
| XYZ | xyz(9.6239, 7.4593, 35.1080) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.65
Cobalt (survey)
#1E488F
ΔE00 3.85
Sapphire (survey)
#2138AB
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 5.27
Blue Blue
#2242C7
ΔE00 5.40
Blueberry
#464196
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2946A2 #A28529
analogous
#2982A2 #2946A2 #4929A2
triadic
#2946A2 #A22946 #46A229
tetradic
#2946A2 #A22982 #A28529 #29A249
square
#2946A2 #A22982 #A28529 #29A249
split-complementary
#2946A2 #A24929 #82A229
monochromatic
#101C40 #1D3171 #2946A2 #3B5ECD #6C86DA
Accessibility & contrast
On white
8.43
#2946A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2946A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2946A2
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2946A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2946A2 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2946a2; /* rgb */ color: rgb(41, 70, 162); /* oklch */ color: oklch(42.9% 0.153 266.6);
Tailwind
colors: {
custom: {
50: '#7479be',
500: '#2946a2',
950: '#000000',
},
}SCSS
$custom: #2946a2; $custom-light: #7479be; $custom-dark: #000000;
JSON
{
"hex": "#2946a2",
"rgb": {
"r": 41,
"g": 70,
"b": 162
},
"hsl": {
"h": 225.62,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.4293,
"c": 0.15294,
"h": 266.6
},
"luminance": 0.0746
}Semantic roles & 50–950 ramp
primary
#2946A2
secondary
#C0AB67
accent
#BD45E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81