#2C48A5#2C48A5
#2C48A5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.154 H 267.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48A5 |
|---|---|
| RGB | rgb(44, 72, 165) |
| HSL | hsl(226, 58%, 41%) |
| HSV | hsv(226, 73%, 65%) |
| CMYK | cmyk(73.3%, 56.4%, 0%, 35.3%) |
| CIE-LAB | lab(33.74, 22.77, -53.27) |
| CIE-LCH | lch(33.74, 57.93, 293.14°) |
| OKLab | oklab(43.73% -0.0079 -0.1535) |
| OKLCH | oklch(43.73% 0.154 267.1) |
| XYZ | xyz(10.1452, 7.8857, 36.5774) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.72
Cobalt (survey)
#1E488F
ΔE00 4.14
Sapphire
#0F52BA
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 5.16
Sapphire (survey)
#2138AB
ΔE00 5.16
Blueberry
#464196
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48A5 #A5892C
analogous
#2C84A5 #2C48A5 #4C2CA5
triadic
#2C48A5 #A52C48 #48A52C
tetradic
#2C48A5 #A52C84 #A5892C #2CA54C
square
#2C48A5 #A52C84 #A5892C #2CA54C
split-complementary
#2C48A5 #A54C2C #84A52C
monochromatic
#121E44 #1F3375 #2C48A5 #4262CD #728AD9
Accessibility & contrast
On white
8.15
#2C48A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2C48A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48A5
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48A5 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c48a5; /* rgb */ color: rgb(44, 72, 165); /* oklch */ color: oklch(43.7% 0.154 267.1);
Tailwind
colors: {
custom: {
50: '#767ac0',
500: '#2c48a5',
950: '#000000',
},
}SCSS
$custom: #2c48a5; $custom-light: #767ac0; $custom-dark: #000000;
JSON
{
"hex": "#2c48a5",
"rgb": {
"r": 44,
"g": 72,
"b": 165
},
"hsl": {
"h": 226.116,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.43727,
"c": 0.15369,
"h": 267.1
},
"luminance": 0.07887
}Semantic roles & 50–950 ramp
primary
#2C48A5
secondary
#C1AD6C
accent
#BD47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81