#2948B3#2948B3
#2948B3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.174 H 266.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2948B3 |
|---|---|
| RGB | rgb(41, 72, 179) |
| HSL | hsl(227, 63%, 43%) |
| HSV | hsv(227, 77%, 70%) |
| CMYK | cmyk(77.1%, 59.8%, 0%, 29.8%) |
| CIE-LAB | lab(34.72, 27.71, -60.02) |
| CIE-LCH | lch(34.72, 66.11, 294.78°) |
| OKLab | oklab(44.77% -0.0099 -0.1734) |
| OKLCH | oklch(44.77% 0.174 266.7) |
| XYZ | xyz(11.3657, 8.3595, 43.6536) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.07
Blue Blue
#2242C7
ΔE00 3.37
Sapphire
#0F52BA
ΔE00 4.29
Sapphire (survey)
#2138AB
ΔE00 4.87
Blue (survey)
#0343DF
ΔE00 5.67
Cobalt (survey)
#1E488F
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2948B3 #B39429
analogous
#298DB3 #2948B3 #4F29B3
triadic
#2948B3 #B32948 #48B329
tetradic
#2948B3 #B3298D #B39429 #29B34F
square
#2948B3 #B3298D #B39429 #29B34F
split-complementary
#2948B3 #B34F29 #8DB329
monochromatic
#12204F #1E3481 #2948B3 #4565D4 #778EE0
Accessibility & contrast
On white
7.86
#2948B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2948B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2948B3
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2948B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2948B3 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2948b3; /* rgb */ color: rgb(41, 72, 179); /* oklch */ color: oklch(44.8% 0.174 266.7);
Tailwind
colors: {
custom: {
50: '#787acb',
500: '#2948b3',
950: '#000000',
},
}SCSS
$custom: #2948b3; $custom-light: #787acb; $custom-dark: #000000;
JSON
{
"hex": "#2948b3",
"rgb": {
"r": 41,
"g": 72,
"b": 179
},
"hsl": {
"h": 226.522,
"s": 62.727,
"l": 43.137
},
"oklch": {
"l": 0.4477,
"c": 0.1737,
"h": 266.7
},
"luminance": 0.08361
}Semantic roles & 50–950 ramp
primary
#2948B3
secondary
#C7B470
accent
#C142E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82