#2C48B2#2C48B2
#2C48B2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.172 H 267.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48B2 |
|---|---|
| RGB | rgb(44, 72, 178) |
| HSL | hsl(227, 60%, 44%) |
| HSV | hsv(227, 75%, 70%) |
| CMYK | cmyk(75.3%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(34.77, 27.67, -59.35) |
| CIE-LCH | lch(34.77, 65.48, 295.00°) |
| OKLab | oklab(44.82% -0.0074 -0.1714) |
| OKLCH | oklch(44.82% 0.172 267.5) |
| XYZ | xyz(11.3892, 8.3833, 43.1288) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.29
Blue Blue
#2242C7
ΔE00 3.41
Sapphire
#0F52BA
ΔE00 4.49
Sapphire (survey)
#2138AB
ΔE00 4.82
Blue (survey)
#0343DF
ΔE00 5.76
Ocean Blue
#4F42B5
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48B2 #B2962C
analogous
#2C8BB2 #2C48B2 #532CB2
triadic
#2C48B2 #B22C48 #48B22C
tetradic
#2C48B2 #B22C8B #B2962C #2CB253
square
#2C48B2 #B22C8B #B2962C #2CB253
split-complementary
#2C48B2 #B2532C #8BB22C
monochromatic
#142050 #203481 #2C48B2 #4966D2 #7A8FDE
Accessibility & contrast
On white
7.84
#2C48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2C48B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48B2
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48B2 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2c48b2; /* rgb */ color: rgb(44, 72, 178); /* oklch */ color: oklch(44.8% 0.172 267.5);
Tailwind
colors: {
custom: {
50: '#797aca',
500: '#2c48b2',
950: '#000000',
},
}SCSS
$custom: #2c48b2; $custom-light: #797aca; $custom-dark: #000000;
JSON
{
"hex": "#2c48b2",
"rgb": {
"r": 44,
"g": 72,
"b": 178
},
"hsl": {
"h": 227.463,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.44816,
"c": 0.17152,
"h": 267.5
},
"luminance": 0.08385
}Semantic roles & 50–950 ramp
primary
#2C48B2
secondary
#C6B573
accent
#C244E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82