#2C48A9#2C48A9
#2C48A9 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.159 H 267.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48A9 |
|---|---|
| RGB | rgb(44, 72, 169) |
| HSL | hsl(227, 59%, 42%) |
| HSV | hsv(227, 74%, 66%) |
| CMYK | cmyk(74%, 57.4%, 0%, 33.7%) |
| CIE-LAB | lab(34.05, 24.28, -55.16) |
| CIE-LCH | lch(34.05, 60.27, 293.76°) |
| OKLab | oklab(44.06% -0.0077 -0.1591) |
| OKLCH | oklch(44.06% 0.159 267.2) |
| XYZ | xyz(10.5150, 8.0337, 38.5249) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.77
Sapphire
#0F52BA
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 4.61
Cobalt (survey)
#1E488F
ΔE00 4.66
Sapphire (survey)
#2138AB
ΔE00 4.97
Blueberry
#464196
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48A9 #A98D2C
analogous
#2C87A9 #2C48A9 #4F2CA9
triadic
#2C48A9 #A92C48 #48A92C
tetradic
#2C48A9 #A92C87 #A98D2C #2CA94F
square
#2C48A9 #A92C87 #A98D2C #2CA94F
split-complementary
#2C48A9 #A94F2C #87A92C
monochromatic
#131F48 #1F3378 #2C48A9 #4463CE #748BDB
Accessibility & contrast
On white
8.06
#2C48A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2C48A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48A9
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48A9 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c48a9; /* rgb */ color: rgb(44, 72, 169); /* oklch */ color: oklch(44.1% 0.159 267.2);
Tailwind
colors: {
custom: {
50: '#777ac3',
500: '#2c48a9',
950: '#000000',
},
}SCSS
$custom: #2c48a9; $custom-light: #777ac3; $custom-dark: #000000;
JSON
{
"hex": "#2c48a9",
"rgb": {
"r": 44,
"g": 72,
"b": 169
},
"hsl": {
"h": 226.56,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.44057,
"c": 0.15924,
"h": 267.2
},
"luminance": 0.08035
}Semantic roles & 50–950 ramp
primary
#2C48A9
secondary
#C3B06E
accent
#BF46E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82