#2C48B1#2C48B1
#2C48B1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.170 H 267.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2C48B1 |
|---|---|
| RGB | rgb(44, 72, 177) |
| HSL | hsl(227, 60%, 43%) |
| HSV | hsv(227, 75%, 69%) |
| CMYK | cmyk(75.1%, 59.3%, 0%, 30.6%) |
| CIE-LAB | lab(34.69, 27.30, -58.89) |
| CIE-LCH | lch(34.69, 64.91, 294.87°) |
| OKLab | oklab(44.73% -0.0074 -0.17) |
| OKLCH | oklch(44.73% 0.17 267.5) |
| XYZ | xyz(11.2891, 8.3433, 42.6019) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.21
Blue Blue
#2242C7
ΔE00 3.54
Sapphire
#0F52BA
ΔE00 4.49
Sapphire (survey)
#2138AB
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C48B1 #B1952C
analogous
#2C8AB1 #2C48B1 #522CB1
triadic
#2C48B1 #B12C48 #48B12C
tetradic
#2C48B1 #B12C8A #B1952C #2CB152
square
#2C48B1 #B12C8A #B1952C #2CB152
split-complementary
#2C48B1 #B1522C #8AB12C
monochromatic
#14204F #203480 #2C48B1 #4965D2 #7A8FDE
Accessibility & contrast
On white
7.87
#2C48B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2C48B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C48B1
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C48B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C48B1 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2c48b1; /* rgb */ color: rgb(44, 72, 177); /* oklch */ color: oklch(44.7% 0.170 267.5);
Tailwind
colors: {
custom: {
50: '#797ac9',
500: '#2c48b1',
950: '#000000',
},
}SCSS
$custom: #2c48b1; $custom-light: #797ac9; $custom-dark: #000000;
JSON
{
"hex": "#2c48b1",
"rgb": {
"r": 44,
"g": 72,
"b": 177
},
"hsl": {
"h": 227.368,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.4473,
"c": 0.17017,
"h": 267.5
},
"luminance": 0.08345
}Semantic roles & 50–950 ramp
primary
#2C48B1
secondary
#C6B473
accent
#C244E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82