#2C47A2#2C47A2
#2C47A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.151 H 267.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47A2 |
|---|---|
| RGB | rgb(44, 71, 162) |
| HSL | hsl(226, 57%, 40%) |
| HSV | hsv(226, 73%, 64%) |
| CMYK | cmyk(72.8%, 56.2%, 0%, 36.5%) |
| CIE-LAB | lab(33.24, 22.30, -52.28) |
| CIE-LCH | lch(33.24, 56.84, 293.10°) |
| OKLab | oklab(43.28% -0.0072 -0.1506) |
| OKLCH | oklch(43.28% 0.151 267.3) |
| XYZ | xyz(9.8113, 7.6496, 35.1349) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.86
Cobalt (survey)
#1E488F
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 5.02
Sapphire
#0F52BA
ΔE00 5.18
Blue Blue
#2242C7
ΔE00 5.45
Blueberry
#464196
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47A2 #A2872C
analogous
#2C82A2 #2C47A2 #4C2CA2
triadic
#2C47A2 #A22C47 #47A22C
tetradic
#2C47A2 #A22C82 #A2872C #2CA24C
square
#2C47A2 #A22C82 #A2872C #2CA24C
split-complementary
#2C47A2 #A24C2C #82A22C
monochromatic
#121D42 #1F3272 #2C47A2 #4060CB #7088D8
Accessibility & contrast
On white
8.30
#2C47A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2C47A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47A2
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47A2 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2c47a2; /* rgb */ color: rgb(44, 71, 162); /* oklch */ color: oklch(43.3% 0.151 267.3);
Tailwind
colors: {
custom: {
50: '#7579be',
500: '#2c47a2',
950: '#000000',
},
}SCSS
$custom: #2c47a2; $custom-light: #7579be; $custom-dark: #000000;
JSON
{
"hex": "#2c47a2",
"rgb": {
"r": 44,
"g": 71,
"b": 162
},
"hsl": {
"h": 226.271,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.43278,
"c": 0.15078,
"h": 267.3
},
"luminance": 0.07651
}Semantic roles & 50–950 ramp
primary
#2C47A2
secondary
#BFAC6A
accent
#BD47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81