#2948AD#2948AD
#2948AD is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.166 H 266.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2948AD |
|---|---|
| RGB | rgb(41, 72, 173) |
| HSL | hsl(226, 62%, 42%) |
| HSV | hsv(226, 76%, 68%) |
| CMYK | cmyk(76.3%, 58.4%, 0%, 32.2%) |
| CIE-LAB | lab(34.24, 25.43, -57.25) |
| CIE-LCH | lch(34.24, 62.65, 293.95°) |
| OKLab | oklab(44.26% -0.0101 -0.1653) |
| OKLCH | oklch(44.26% 0.166 266.5) |
| XYZ | xyz(10.7720, 8.1221, 40.5271) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.61
Blue Blue
#2242C7
ΔE00 4.15
Sapphire
#0F52BA
ΔE00 4.31
Sapphire (survey)
#2138AB
ΔE00 4.92
Cobalt (survey)
#1E488F
ΔE00 4.98
Blueberry
#464196
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2948AD #AD8E29
analogous
#298AAD #2948AD #4C29AD
triadic
#2948AD #AD2948 #48AD29
tetradic
#2948AD #AD298A #AD8E29 #29AD4C
square
#2948AD #AD298A #AD8E29 #29AD4C
split-complementary
#2948AD #AD4C29 #8AAD29
monochromatic
#121F4A #1D337C #2948AD #4163D2 #738CDE
Accessibility & contrast
On white
8.00
#2948AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2948AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2948AD
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2948AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2948AD | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2948ad; /* rgb */ color: rgb(41, 72, 173); /* oklch */ color: oklch(44.3% 0.166 266.5);
Tailwind
colors: {
custom: {
50: '#777ac6',
500: '#2948ad',
950: '#000000',
},
}SCSS
$custom: #2948ad; $custom-light: #777ac6; $custom-dark: #000000;
JSON
{
"hex": "#2948ad",
"rgb": {
"r": 41,
"g": 72,
"b": 173
},
"hsl": {
"h": 225.909,
"s": 61.682,
"l": 41.961
},
"oklch": {
"l": 0.44256,
"c": 0.16558,
"h": 266.5
},
"luminance": 0.08123
}Semantic roles & 50–950 ramp
primary
#2948AD
secondary
#C5B06D
accent
#BF43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82