#2948BA#2948BA
#2948BA is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.183 H 266.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2948BA |
|---|---|
| RGB | rgb(41, 72, 186) |
| HSL | hsl(227, 64%, 45%) |
| HSV | hsv(227, 78%, 73%) |
| CMYK | cmyk(78%, 61.3%, 0%, 27.1%) |
| CIE-LAB | lab(35.30, 30.34, -63.21) |
| CIE-LCH | lch(35.30, 70.12, 295.64°) |
| OKLab | oklab(45.38% -0.0099 -0.1827) |
| OKLCH | oklch(45.38% 0.183 266.9) |
| XYZ | xyz(12.0916, 8.6499, 47.4772) |
| Luminance | 0.0865 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.55
Cobalt
#0047AB
ΔE00 3.77
Sapphire
#0F52BA
ΔE00 4.46
Blue (survey)
#0343DF
ΔE00 4.73
Sapphire (survey)
#2138AB
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2948BA #BA9B29
analogous
#2991BA #2948BA #5229BA
triadic
#2948BA #BA2948 #48BA29
tetradic
#2948BA #BA2991 #BA9B29 #29BA52
square
#2948BA #BA2991 #BA9B29 #29BA52
split-complementary
#2948BA #BA5229 #91BA29
monochromatic
#132156 #1E3588 #2948BA #4968D7 #7B91E2
Accessibility & contrast
On white
7.69
#2948BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2948BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2948BA
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2948BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2948BA | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2948ba; /* rgb */ color: rgb(41, 72, 186); /* oklch */ color: oklch(45.4% 0.183 266.9);
Tailwind
colors: {
custom: {
50: '#7a7ad0',
500: '#2948ba',
950: '#000000',
},
}SCSS
$custom: #2948ba; $custom-light: #7a7ad0; $custom-dark: #000000;
JSON
{
"hex": "#2948ba",
"rgb": {
"r": 41,
"g": 72,
"b": 186
},
"hsl": {
"h": 227.172,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.45382,
"c": 0.18302,
"h": 266.9
},
"luminance": 0.08651
}Semantic roles & 50–950 ramp
primary
#2948BA
secondary
#CAB875
accent
#C341E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82