#2C47A5#2C47A5
#2C47A5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.155 H 267.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47A5 |
|---|---|
| RGB | rgb(44, 71, 165) |
| HSL | hsl(227, 58%, 41%) |
| HSV | hsv(227, 73%, 65%) |
| CMYK | cmyk(73.3%, 57%, 0%, 35.3%) |
| CIE-LAB | lab(33.47, 23.43, -53.71) |
| CIE-LCH | lch(33.47, 58.60, 293.57°) |
| OKLab | oklab(43.52% -0.0071 -0.1548) |
| OKLCH | oklch(43.52% 0.155 267.4) |
| XYZ | xyz(10.0811, 7.7575, 36.5561) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.83
Cobalt (survey)
#1E488F
ΔE00 4.30
Sapphire (survey)
#2138AB
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.01
Sapphire
#0F52BA
ΔE00 5.03
Blueberry
#464196
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47A5 #A58A2C
analogous
#2C83A5 #2C47A5 #4E2CA5
triadic
#2C47A5 #A52C47 #47A52C
tetradic
#2C47A5 #A52C83 #A58A2C #2CA54E
square
#2C47A5 #A52C83 #A58A2C #2CA54E
split-complementary
#2C47A5 #A54E2C #83A52C
monochromatic
#121D44 #1F3275 #2C47A5 #4261CD #7289D9
Accessibility & contrast
On white
8.23
#2C47A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2C47A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47A5
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47A5 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c47a5; /* rgb */ color: rgb(44, 71, 165); /* oklch */ color: oklch(43.5% 0.155 267.4);
Tailwind
colors: {
custom: {
50: '#7679c0',
500: '#2c47a5',
950: '#000000',
},
}SCSS
$custom: #2c47a5; $custom-light: #7679c0; $custom-dark: #000000;
JSON
{
"hex": "#2c47a5",
"rgb": {
"r": 44,
"g": 71,
"b": 165
},
"hsl": {
"h": 226.612,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.43524,
"c": 0.15496,
"h": 267.4
},
"luminance": 0.07759
}Semantic roles & 50–950 ramp
primary
#2C47A5
secondary
#C1AE6C
accent
#BF47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81