#2C47B1#2C47B1
#2C47B1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.171 H 267.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47B1 |
|---|---|
| RGB | rgb(44, 71, 177) |
| HSL | hsl(228, 60%, 43%) |
| HSV | hsv(228, 75%, 69%) |
| CMYK | cmyk(75.1%, 59.9%, 0%, 30.6%) |
| CIE-LAB | lab(34.43, 27.95, -59.31) |
| CIE-LCH | lch(34.43, 65.57, 295.24°) |
| OKLab | oklab(44.54% -0.0067 -0.1713) |
| OKLCH | oklch(44.54% 0.171 267.8) |
| XYZ | xyz(11.2250, 8.2151, 42.5805) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.33
Blue Blue
#2242C7
ΔE00 3.36
Sapphire (survey)
#2138AB
ΔE00 4.50
Sapphire
#0F52BA
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 5.66
Blue (survey)
#0343DF
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47B1 #B1962C
analogous
#2C89B1 #2C47B1 #542CB1
triadic
#2C47B1 #B12C47 #47B12C
tetradic
#2C47B1 #B12C89 #B1962C #2CB154
square
#2C47B1 #B12C89 #B1962C #2CB154
split-complementary
#2C47B1 #B1542C #89B12C
monochromatic
#14204F #203380 #2C47B1 #4964D2 #7A8EDE
Accessibility & contrast
On white
7.94
#2C47B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2C47B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47B1
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47B1 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2c47b1; /* rgb */ color: rgb(44, 71, 177); /* oklch */ color: oklch(44.5% 0.171 267.8);
Tailwind
colors: {
custom: {
50: '#7979c9',
500: '#2c47b1',
950: '#000000',
},
}SCSS
$custom: #2c47b1; $custom-light: #7979c9; $custom-dark: #000000;
JSON
{
"hex": "#2c47b1",
"rgb": {
"r": 44,
"g": 71,
"b": 177
},
"hsl": {
"h": 227.82,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.44536,
"c": 0.1714,
"h": 267.8
},
"luminance": 0.08216
}Semantic roles & 50–950 ramp
primary
#2C47B1
secondary
#C6B573
accent
#C344E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82