#2948AF#2948AF
#2948AF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.168 H 266.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2948AF |
|---|---|
| RGB | rgb(41, 72, 175) |
| HSL | hsl(226, 62%, 42%) |
| HSV | hsv(226, 77%, 69%) |
| CMYK | cmyk(76.6%, 58.9%, 0%, 31.4%) |
| CIE-LAB | lab(34.40, 26.19, -58.18) |
| CIE-LCH | lch(34.40, 63.81, 294.24°) |
| OKLab | oklab(44.43% -0.01 -0.168) |
| OKLCH | oklch(44.43% 0.168 266.6) |
| XYZ | xyz(10.9670, 8.2001, 41.5539) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.74
Blue Blue
#2242C7
ΔE00 3.88
Sapphire
#0F52BA
ΔE00 4.29
Sapphire (survey)
#2138AB
ΔE00 4.88
Cobalt (survey)
#1E488F
ΔE00 5.25
Blue (survey)
#0343DF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2948AF #AF9029
analogous
#298BAF #2948AF #4D29AF
triadic
#2948AF #AF2948 #48AF29
tetradic
#2948AF #AF298B #AF9029 #29AF4D
square
#2948AF #AF298B #AF9029 #29AF4D
split-complementary
#2948AF #AF4D29 #8BAF29
monochromatic
#121F4C #1D347D #2948AF #4264D3 #748DDE
Accessibility & contrast
On white
7.95
#2948AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2948AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2948AF
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2948AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2948AF | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2948af; /* rgb */ color: rgb(41, 72, 175); /* oklch */ color: oklch(44.4% 0.168 266.6);
Tailwind
colors: {
custom: {
50: '#777ac8',
500: '#2948af',
950: '#000000',
},
}SCSS
$custom: #2948af; $custom-light: #777ac8; $custom-dark: #000000;
JSON
{
"hex": "#2948af",
"rgb": {
"r": 41,
"g": 72,
"b": 175
},
"hsl": {
"h": 226.119,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.44426,
"c": 0.16829,
"h": 266.6
},
"luminance": 0.08201
}Semantic roles & 50–950 ramp
primary
#2948AF
secondary
#C6B16E
accent
#C043E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82