#2C47A6#2C47A6
#2C47A6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.156 H 267.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47A6 |
|---|---|
| RGB | rgb(44, 71, 166) |
| HSL | hsl(227, 58%, 41%) |
| HSV | hsv(227, 73%, 65%) |
| CMYK | cmyk(73.5%, 57.2%, 0%, 34.9%) |
| CIE-LAB | lab(33.55, 23.81, -54.18) |
| CIE-LCH | lch(33.55, 59.18, 293.73°) |
| OKLab | oklab(43.61% -0.007 -0.1562) |
| OKLCH | oklch(43.61% 0.156 267.4) |
| XYZ | xyz(10.1725, 7.7941, 37.0373) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.83
Cobalt (survey)
#1E488F
ΔE00 4.43
Sapphire (survey)
#2138AB
ΔE00 4.77
Blue Blue
#2242C7
ΔE00 4.87
Sapphire
#0F52BA
ΔE00 4.99
Blueberry
#464196
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47A6 #A68B2C
analogous
#2C84A6 #2C47A6 #4E2CA6
triadic
#2C47A6 #A62C47 #47A62C
tetradic
#2C47A6 #A62C84 #A68B2C #2CA64E
square
#2C47A6 #A62C84 #A68B2C #2CA64E
split-complementary
#2C47A6 #A64E2C #84A62C
monochromatic
#121E45 #1F3276 #2C47A6 #4261CD #7389DA
Accessibility & contrast
On white
8.21
#2C47A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2C47A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47A6
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47A6 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c47a6; /* rgb */ color: rgb(44, 71, 166); /* oklch */ color: oklch(43.6% 0.156 267.4);
Tailwind
colors: {
custom: {
50: '#7679c1',
500: '#2c47a6',
950: '#000000',
},
}SCSS
$custom: #2c47a6; $custom-light: #7679c1; $custom-dark: #000000;
JSON
{
"hex": "#2c47a6",
"rgb": {
"r": 44,
"g": 71,
"b": 166
},
"hsl": {
"h": 226.721,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.43606,
"c": 0.15636,
"h": 267.4
},
"luminance": 0.07795
}Semantic roles & 50–950 ramp
primary
#2C47A6
secondary
#C1AE6D
accent
#BF46E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81