#2C47A4#2C47A4
#2C47A4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.154 H 267.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47A4 |
|---|---|
| RGB | rgb(44, 71, 164) |
| HSL | hsl(227, 58%, 41%) |
| HSV | hsv(227, 73%, 64%) |
| CMYK | cmyk(73.2%, 56.7%, 0%, 35.7%) |
| CIE-LAB | lab(33.40, 23.06, -53.23) |
| CIE-LCH | lch(33.40, 58.01, 293.42°) |
| OKLab | oklab(43.44% -0.0071 -0.1534) |
| OKLCH | oklch(43.44% 0.154 267.3) |
| XYZ | xyz(9.9905, 7.7212, 36.0786) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.83
Cobalt (survey)
#1E488F
ΔE00 4.18
Sapphire (survey)
#2138AB
ΔE00 4.89
Sapphire
#0F52BA
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.16
Blueberry
#464196
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47A4 #A4892C
analogous
#2C83A4 #2C47A4 #4D2CA4
triadic
#2C47A4 #A42C47 #47A42C
tetradic
#2C47A4 #A42C83 #A4892C #2CA44D
square
#2C47A4 #A42C83 #A4892C #2CA44D
split-complementary
#2C47A4 #A44D2C #83A42C
monochromatic
#121D43 #1F3274 #2C47A4 #4160CC #7189D9
Accessibility & contrast
On white
8.25
#2C47A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2C47A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47A4
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47A4 | 1.00 | 8.25 | 2.54 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c47a4; /* rgb */ color: rgb(44, 71, 164); /* oklch */ color: oklch(43.4% 0.154 267.3);
Tailwind
colors: {
custom: {
50: '#7679c0',
500: '#2c47a4',
950: '#000000',
},
}SCSS
$custom: #2c47a4; $custom-light: #7679c0; $custom-dark: #000000;
JSON
{
"hex": "#2c47a4",
"rgb": {
"r": 44,
"g": 71,
"b": 164
},
"hsl": {
"h": 226.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.43441,
"c": 0.15358,
"h": 267.3
},
"luminance": 0.07722
}Semantic roles & 50–950 ramp
primary
#2C47A4
secondary
#C0AD6B
accent
#BE47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81