#2948B0#2948B0
#2948B0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.170 H 266.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2948B0 |
|---|---|
| RGB | rgb(41, 72, 176) |
| HSL | hsl(226, 62%, 43%) |
| HSV | hsv(226, 77%, 69%) |
| CMYK | cmyk(76.7%, 59.1%, 0%, 31%) |
| CIE-LAB | lab(34.48, 26.57, -58.64) |
| CIE-LCH | lch(34.48, 64.38, 294.38°) |
| OKLab | oklab(44.51% -0.01 -0.1693) |
| OKLCH | oklch(44.51% 0.17 266.6) |
| XYZ | xyz(11.0655, 8.2395, 42.0731) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.82
Blue Blue
#2242C7
ΔE00 3.75
Sapphire
#0F52BA
ΔE00 4.28
Sapphire (survey)
#2138AB
ΔE00 4.87
Cobalt (survey)
#1E488F
ΔE00 5.38
Blue (survey)
#0343DF
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2948B0 #B09129
analogous
#298CB0 #2948B0 #4D29B0
triadic
#2948B0 #B02948 #48B029
tetradic
#2948B0 #B0298C #B09129 #29B04D
square
#2948B0 #B0298C #B09129 #29B04D
split-complementary
#2948B0 #B04D29 #8CB029
monochromatic
#121F4D #1D347E #2948B0 #4364D3 #758DDF
Accessibility & contrast
On white
7.93
#2948B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2948B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2948B0
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2948B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2948B0 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2948b0; /* rgb */ color: rgb(41, 72, 176); /* oklch */ color: oklch(44.5% 0.170 266.6);
Tailwind
colors: {
custom: {
50: '#787ac8',
500: '#2948b0',
950: '#000000',
},
}SCSS
$custom: #2948b0; $custom-light: #787ac8; $custom-dark: #000000;
JSON
{
"hex": "#2948b0",
"rgb": {
"r": 41,
"g": 72,
"b": 176
},
"hsl": {
"h": 226.222,
"s": 62.212,
"l": 42.549
},
"oklch": {
"l": 0.44512,
"c": 0.16965,
"h": 266.6
},
"luminance": 0.08241
}Semantic roles & 50–950 ramp
primary
#2948B0
secondary
#C6B26F
accent
#C043E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82