#2948AC#2948AC
#2948AC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.164 H 266.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2948AC |
|---|---|
| RGB | rgb(41, 72, 172) |
| HSL | hsl(226, 62%, 42%) |
| HSV | hsv(226, 76%, 67%) |
| CMYK | cmyk(76.2%, 58.1%, 0%, 32.5%) |
| CIE-LAB | lab(34.16, 25.05, -56.79) |
| CIE-LCH | lch(34.16, 62.07, 293.81°) |
| OKLab | oklab(44.17% -0.0102 -0.1639) |
| OKLCH | oklch(44.17% 0.164 266.5) |
| XYZ | xyz(10.6756, 8.0835, 40.0194) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.55
Blue Blue
#2242C7
ΔE00 4.29
Sapphire
#0F52BA
ΔE00 4.33
Cobalt (survey)
#1E488F
ΔE00 4.84
Sapphire (survey)
#2138AB
ΔE00 4.95
Blueberry
#464196
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2948AC #AC8D29
analogous
#2989AC #2948AC #4C29AC
triadic
#2948AC #AC2948 #48AC29
tetradic
#2948AC #AC2989 #AC8D29 #29AC4C
square
#2948AC #AC2989 #AC8D29 #29AC4C
split-complementary
#2948AC #AC4C29 #89AC29
monochromatic
#111F49 #1D337B #2948AC #4163D2 #728BDD
Accessibility & contrast
On white
8.02
#2948AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2948AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2948AC
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2948AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2948AC | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2948ac; /* rgb */ color: rgb(41, 72, 172); /* oklch */ color: oklch(44.2% 0.164 266.5);
Tailwind
colors: {
custom: {
50: '#777ac6',
500: '#2948ac',
950: '#000000',
},
}SCSS
$custom: #2948ac; $custom-light: #777ac6; $custom-dark: #000000;
JSON
{
"hex": "#2948ac",
"rgb": {
"r": 41,
"g": 72,
"b": 172
},
"hsl": {
"h": 225.802,
"s": 61.502,
"l": 41.765
},
"oklch": {
"l": 0.44172,
"c": 0.16421,
"h": 266.5
},
"luminance": 0.08085
}Semantic roles & 50–950 ramp
primary
#2948AC
secondary
#C5B06C
accent
#BE43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82