#2946B4#2946B4
#2946B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.177 H 267.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2946B4 |
|---|---|
| RGB | rgb(41, 70, 180) |
| HSL | hsl(227, 63%, 43%) |
| HSV | hsv(227, 77%, 71%) |
| CMYK | cmyk(77.2%, 61.1%, 0%, 29.4%) |
| CIE-LAB | lab(34.28, 29.40, -61.33) |
| CIE-LCH | lch(34.28, 68.01, 295.61°) |
| OKLab | oklab(44.47% -0.0086 -0.1773) |
| OKLCH | oklch(44.47% 0.177 267.2) |
| XYZ | xyz(11.3400, 8.1458, 44.1458) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.87
Cobalt
#0047AB
ΔE00 3.43
Sapphire (survey)
#2138AB
ΔE00 4.25
Sapphire
#0F52BA
ΔE00 4.92
Blue (survey)
#0343DF
ΔE00 5.38
Ocean Blue
#4F42B5
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2946B4 #B49729
analogous
#298BB4 #2946B4 #5129B4
triadic
#2946B4 #B42946 #46B429
tetradic
#2946B4 #B4298B #B49729 #29B451
square
#2946B4 #B4298B #B49729 #29B451
split-complementary
#2946B4 #B45129 #8BB429
monochromatic
#121F50 #1E3382 #2946B4 #4563D5 #778DE0
Accessibility & contrast
On white
7.99
#2946B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2946B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2946B4
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2946B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2946B4 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2946b4; /* rgb */ color: rgb(41, 70, 180); /* oklch */ color: oklch(44.5% 0.177 267.2);
Tailwind
colors: {
custom: {
50: '#7979cb',
500: '#2946b4',
950: '#000000',
},
}SCSS
$custom: #2946b4; $custom-light: #7979cb; $custom-dark: #000000;
JSON
{
"hex": "#2946b4",
"rgb": {
"r": 41,
"g": 70,
"b": 180
},
"hsl": {
"h": 227.482,
"s": 62.896,
"l": 43.333
},
"oklch": {
"l": 0.44471,
"c": 0.17747,
"h": 267.2
},
"luminance": 0.08147
}Semantic roles & 50–950 ramp
primary
#2946B4
secondary
#C8B671
accent
#C442E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82