#2949B2#2949B2
#2949B2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.171 H 266.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2949B2 |
|---|---|
| RGB | rgb(41, 73, 178) |
| HSL | hsl(226, 63%, 43%) |
| HSV | hsv(226, 77%, 70%) |
| CMYK | cmyk(77%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(34.90, 26.67, -59.14) |
| CIE-LCH | lch(34.90, 64.87, 294.27°) |
| OKLab | oklab(44.88% -0.0107 -0.1708) |
| OKLCH | oklch(44.88% 0.171 266.4) |
| XYZ | xyz(11.3301, 8.4496, 43.1447) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.89
Blue Blue
#2242C7
ΔE00 3.71
Sapphire
#0F52BA
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 5.19
Cobalt (survey)
#1E488F
ΔE00 5.54
Blue (survey)
#0343DF
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2949B2 #B29229
analogous
#298EB2 #2949B2 #4D29B2
triadic
#2949B2 #B22949 #49B229
tetradic
#2949B2 #B2298E #B29229 #29B24D
square
#2949B2 #B2298E #B29229 #29B24D
split-complementary
#2949B2 #B24D29 #8EB229
monochromatic
#12204F #1E3580 #2949B2 #4466D4 #768FDF
Accessibility & contrast
On white
7.81
#2949B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2949B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2949B2
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2949B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2949B2 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2949b2; /* rgb */ color: rgb(41, 73, 178); /* oklch */ color: oklch(44.9% 0.171 266.4);
Tailwind
colors: {
custom: {
50: '#787bca',
500: '#2949b2',
950: '#000000',
},
}SCSS
$custom: #2949b2; $custom-light: #787bca; $custom-dark: #000000;
JSON
{
"hex": "#2949b2",
"rgb": {
"r": 41,
"g": 73,
"b": 178
},
"hsl": {
"h": 225.985,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.4488,
"c": 0.17112,
"h": 266.4
},
"luminance": 0.08451
}Semantic roles & 50–950 ramp
primary
#2949B2
secondary
#C7B370
accent
#BF42E6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82