#2C48A2#2C48A2
#2C48A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.149 H 266.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48A2 |
|---|---|
| RGB | rgb(44, 72, 162) |
| HSL | hsl(226, 57%, 40%) |
| HSV | hsv(226, 73%, 64%) |
| CMYK | cmyk(72.8%, 55.6%, 0%, 36.5%) |
| CIE-LAB | lab(33.52, 21.63, -51.84) |
| CIE-LCH | lch(33.52, 56.17, 292.65°) |
| OKLab | oklab(43.48% -0.008 -0.1493) |
| OKLCH | oklch(43.48% 0.15 266.9) |
| XYZ | xyz(9.8754, 7.7778, 35.1562) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.76
Cobalt (survey)
#1E488F
ΔE00 3.76
Sapphire
#0F52BA
ΔE00 4.91
Sapphire (survey)
#2138AB
ΔE00 5.35
Blue Blue
#2242C7
ΔE00 5.59
Blueberry
#464196
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48A2 #A2862C
analogous
#2C83A2 #2C48A2 #4B2CA2
triadic
#2C48A2 #A22C48 #48A22C
tetradic
#2C48A2 #A22C83 #A2862C #2CA24B
square
#2C48A2 #A22C83 #A2862C #2CA24B
split-complementary
#2C48A2 #A24B2C #83A22C
monochromatic
#121D42 #1F3372 #2C48A2 #4061CB #7089D8
Accessibility & contrast
On white
8.22
#2C48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2C48A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48A2
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48A2 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c48a2; /* rgb */ color: rgb(44, 72, 162); /* oklch */ color: oklch(43.5% 0.149 266.9);
Tailwind
colors: {
custom: {
50: '#757abe',
500: '#2c48a2',
950: '#000000',
},
}SCSS
$custom: #2c48a2; $custom-light: #757abe; $custom-dark: #000000;
JSON
{
"hex": "#2c48a2",
"rgb": {
"r": 44,
"g": 72,
"b": 162
},
"hsl": {
"h": 225.763,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.43484,
"c": 0.1495,
"h": 266.9
},
"luminance": 0.07779
}Semantic roles & 50–950 ramp
primary
#2C48A2
secondary
#BFAB6A
accent
#BC47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81