#2C47A3#2C47A3
#2C47A3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.152 H 267.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47A3 |
|---|---|
| RGB | rgb(44, 71, 163) |
| HSL | hsl(226, 57%, 41%) |
| HSV | hsv(226, 73%, 64%) |
| CMYK | cmyk(73%, 56.4%, 0%, 36.1%) |
| CIE-LAB | lab(33.32, 22.68, -52.76) |
| CIE-LCH | lch(33.32, 57.42, 293.26°) |
| OKLab | oklab(43.36% -0.0072 -0.152) |
| OKLCH | oklch(43.36% 0.152 267.3) |
| XYZ | xyz(9.9005, 7.6853, 35.6049) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.84
Cobalt (survey)
#1E488F
ΔE00 4.05
Sapphire (survey)
#2138AB
ΔE00 4.95
Sapphire
#0F52BA
ΔE00 5.12
Blue Blue
#2242C7
ΔE00 5.30
Blueberry
#464196
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47A3 #A3882C
analogous
#2C82A3 #2C47A3 #4D2CA3
triadic
#2C47A3 #A32C47 #47A32C
tetradic
#2C47A3 #A32C82 #A3882C #2CA34D
square
#2C47A3 #A32C82 #A3882C #2CA34D
split-complementary
#2C47A3 #A34D2C #82A32C
monochromatic
#121D43 #1F3273 #2C47A3 #4160CC #7188D9
Accessibility & contrast
On white
8.28
#2C47A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2C47A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47A3
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47A3 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2c47a3; /* rgb */ color: rgb(44, 71, 163); /* oklch */ color: oklch(43.4% 0.152 267.3);
Tailwind
colors: {
custom: {
50: '#7679bf',
500: '#2c47a3',
950: '#000000',
},
}SCSS
$custom: #2c47a3; $custom-light: #7679bf; $custom-dark: #000000;
JSON
{
"hex": "#2c47a3",
"rgb": {
"r": 44,
"g": 71,
"b": 163
},
"hsl": {
"h": 226.387,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.43359,
"c": 0.15218,
"h": 267.3
},
"luminance": 0.07686
}Semantic roles & 50–950 ramp
primary
#2C47A3
secondary
#C0AD6B
accent
#BE47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81