#2948B4#2948B4
#2948B4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.175 H 266.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2948B4 |
|---|---|
| RGB | rgb(41, 72, 180) |
| HSL | hsl(227, 63%, 43%) |
| HSV | hsv(227, 77%, 71%) |
| CMYK | cmyk(77.2%, 60%, 0%, 29.4%) |
| CIE-LAB | lab(34.80, 28.09, -60.48) |
| CIE-LCH | lch(34.80, 66.69, 294.91°) |
| OKLab | oklab(44.86% -0.0099 -0.1747) |
| OKLCH | oklch(44.86% 0.175 266.7) |
| XYZ | xyz(11.4672, 8.4001, 44.1882) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.16
Blue Blue
#2242C7
ΔE00 3.25
Sapphire
#0F52BA
ΔE00 4.30
Sapphire (survey)
#2138AB
ΔE00 4.88
Blue (survey)
#0343DF
ΔE00 5.53
Cobalt (survey)
#1E488F
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2948B4 #B49529
analogous
#298DB4 #2948B4 #5029B4
triadic
#2948B4 #B42948 #48B429
tetradic
#2948B4 #B4298D #B49529 #29B450
square
#2948B4 #B4298D #B49529 #29B450
split-complementary
#2948B4 #B45029 #8DB429
monochromatic
#122050 #1E3482 #2948B4 #4565D5 #778FE0
Accessibility & contrast
On white
7.84
#2948B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2948B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2948B4
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2948B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2948B4 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2948b4; /* rgb */ color: rgb(41, 72, 180); /* oklch */ color: oklch(44.9% 0.175 266.7);
Tailwind
colors: {
custom: {
50: '#787acb',
500: '#2948b4',
950: '#000000',
},
}SCSS
$custom: #2948b4; $custom-light: #787acb; $custom-dark: #000000;
JSON
{
"hex": "#2948b4",
"rgb": {
"r": 41,
"g": 72,
"b": 180
},
"hsl": {
"h": 226.619,
"s": 62.896,
"l": 43.333
},
"oklch": {
"l": 0.44857,
"c": 0.17503,
"h": 266.7
},
"luminance": 0.08401
}Semantic roles & 50–950 ramp
primary
#2948B4
secondary
#C8B471
accent
#C142E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82