#2C47AE#2C47AE
#2C47AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.167 H 267.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47AE |
|---|---|
| RGB | rgb(44, 71, 174) |
| HSL | hsl(228, 60%, 43%) |
| HSV | hsv(228, 75%, 68%) |
| CMYK | cmyk(74.7%, 59.2%, 0%, 31.8%) |
| CIE-LAB | lab(34.18, 26.83, -57.93) |
| CIE-LCH | lch(34.18, 63.84, 294.85°) |
| OKLab | oklab(44.28% -0.0067 -0.1672) |
| OKLCH | oklch(44.28% 0.167 267.7) |
| XYZ | xyz(10.9293, 8.0968, 41.0230) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.12
Blue Blue
#2242C7
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.51
Sapphire
#0F52BA
ΔE00 4.80
Cobalt (survey)
#1E488F
ΔE00 5.46
Ocean Blue
#4F42B5
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47AE #AE932C
analogous
#2C88AE #2C47AE #522CAE
triadic
#2C47AE #AE2C47 #47AE2C
tetradic
#2C47AE #AE2C88 #AE932C #2CAE52
square
#2C47AE #AE2C88 #AE932C #2CAE52
split-complementary
#2C47AE #AE522C #88AE2C
monochromatic
#131F4C #20337D #2C47AE #4763D0 #788DDD
Accessibility & contrast
On white
8.02
#2C47AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2C47AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47AE
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47AE | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c47ae; /* rgb */ color: rgb(44, 71, 174); /* oklch */ color: oklch(44.3% 0.167 267.7);
Tailwind
colors: {
custom: {
50: '#7879c7',
500: '#2c47ae',
950: '#000000',
},
}SCSS
$custom: #2c47ae; $custom-light: #7879c7; $custom-dark: #000000;
JSON
{
"hex": "#2c47ae",
"rgb": {
"r": 44,
"g": 71,
"b": 174
},
"hsl": {
"h": 227.538,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.44279,
"c": 0.16734,
"h": 267.7
},
"luminance": 0.08098
}Semantic roles & 50–950 ramp
primary
#2C47AE
secondary
#C5B371
accent
#C245E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82