#2C47AD#2C47AD
#2C47AD is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.166 H 267.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47AD |
|---|---|
| RGB | rgb(44, 71, 173) |
| HSL | hsl(227, 59%, 43%) |
| HSV | hsv(227, 75%, 68%) |
| CMYK | cmyk(74.6%, 59%, 0%, 32.2%) |
| CIE-LAB | lab(34.10, 26.45, -57.46) |
| CIE-LCH | lch(34.10, 63.26, 294.72°) |
| OKLab | oklab(44.19% -0.0068 -0.1658) |
| OKLCH | oklch(44.19% 0.166 267.7) |
| XYZ | xyz(10.8321, 8.0579, 40.5115) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.07
Blue Blue
#2242C7
ΔE00 3.89
Sapphire (survey)
#2138AB
ΔE00 4.52
Sapphire
#0F52BA
ΔE00 4.81
Cobalt (survey)
#1E488F
ΔE00 5.33
Blueberry
#464196
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47AD #AD922C
analogous
#2C87AD #2C47AD #522CAD
triadic
#2C47AD #AD2C47 #47AD2C
tetradic
#2C47AD #AD2C87 #AD922C #2CAD52
square
#2C47AD #AD2C87 #AD922C #2CAD52
split-complementary
#2C47AD #AD522C #87AD2C
monochromatic
#131F4B #20337C #2C47AD #4663D0 #778CDC
Accessibility & contrast
On white
8.04
#2C47AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2C47AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47AD
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47AD | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c47ad; /* rgb */ color: rgb(44, 71, 173); /* oklch */ color: oklch(44.2% 0.166 267.7);
Tailwind
colors: {
custom: {
50: '#7879c6',
500: '#2c47ad',
950: '#000000',
},
}SCSS
$custom: #2c47ad; $custom-light: #7879c6; $custom-dark: #000000;
JSON
{
"hex": "#2c47ad",
"rgb": {
"r": 44,
"g": 71,
"b": 173
},
"hsl": {
"h": 227.442,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.44194,
"c": 0.16598,
"h": 267.7
},
"luminance": 0.08059
}Semantic roles & 50–950 ramp
primary
#2C47AD
secondary
#C4B371
accent
#C245E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82