#2C48A4#2C48A4
#2C48A4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.152 H 267.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48A4 |
|---|---|
| RGB | rgb(44, 72, 164) |
| HSL | hsl(226, 58%, 41%) |
| HSV | hsv(226, 73%, 64%) |
| CMYK | cmyk(73.2%, 56.1%, 0%, 35.7%) |
| CIE-LAB | lab(33.67, 22.39, -52.79) |
| CIE-LCH | lch(33.67, 57.34, 292.98°) |
| OKLab | oklab(43.65% -0.0079 -0.1521) |
| OKLCH | oklch(43.65% 0.152 267) |
| XYZ | xyz(10.0546, 7.8495, 36.1000) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.72
Cobalt (survey)
#1E488F
ΔE00 4.02
Sapphire
#0F52BA
ΔE00 4.80
Sapphire (survey)
#2138AB
ΔE00 5.22
Blue Blue
#2242C7
ΔE00 5.30
Blueberry
#464196
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48A4 #A4882C
analogous
#2C84A4 #2C48A4 #4C2CA4
triadic
#2C48A4 #A42C48 #48A42C
tetradic
#2C48A4 #A42C84 #A4882C #2CA44C
square
#2C48A4 #A42C84 #A4882C #2CA44C
split-complementary
#2C48A4 #A44C2C #84A42C
monochromatic
#121E43 #1F3374 #2C48A4 #4162CC #718AD9
Accessibility & contrast
On white
8.17
#2C48A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2C48A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48A4
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48A4 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c48a4; /* rgb */ color: rgb(44, 72, 164); /* oklch */ color: oklch(43.6% 0.152 267.0);
Tailwind
colors: {
custom: {
50: '#767ac0',
500: '#2c48a4',
950: '#000000',
},
}SCSS
$custom: #2c48a4; $custom-light: #767ac0; $custom-dark: #000000;
JSON
{
"hex": "#2c48a4",
"rgb": {
"r": 44,
"g": 72,
"b": 164
},
"hsl": {
"h": 226,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.43646,
"c": 0.1523,
"h": 267
},
"luminance": 0.07851
}Semantic roles & 50–950 ramp
primary
#2C48A4
secondary
#C0AD6B
accent
#BD47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81