#2C47AB#2C47AB
#2C47AB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.163 H 267.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47AB |
|---|---|
| RGB | rgb(44, 71, 171) |
| HSL | hsl(227, 59%, 42%) |
| HSV | hsv(227, 74%, 67%) |
| CMYK | cmyk(74.3%, 58.5%, 0%, 32.9%) |
| CIE-LAB | lab(33.94, 25.70, -56.53) |
| CIE-LCH | lch(33.94, 62.10, 294.45°) |
| OKLab | oklab(44.02% -0.0068 -0.1631) |
| OKLCH | oklch(44.02% 0.163 267.6) |
| XYZ | xyz(10.6401, 7.9811, 39.4999) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.97
Blue Blue
#2242C7
ΔE00 4.17
Sapphire (survey)
#2138AB
ΔE00 4.57
Sapphire
#0F52BA
ΔE00 4.84
Cobalt (survey)
#1E488F
ΔE00 5.07
Blueberry
#464196
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47AB #AB902C
analogous
#2C87AB #2C47AB #502CAB
triadic
#2C47AB #AB2C47 #47AB2C
tetradic
#2C47AB #AB2C87 #AB902C #2CAB50
square
#2C47AB #AB2C87 #AB902C #2CAB50
split-complementary
#2C47AB #AB502C #87AB2C
monochromatic
#131F4A #1F337A #2C47AB #4562CF #768BDC
Accessibility & contrast
On white
8.09
#2C47AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2C47AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47AB
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47AB | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c47ab; /* rgb */ color: rgb(44, 71, 171); /* oklch */ color: oklch(44.0% 0.163 267.6);
Tailwind
colors: {
custom: {
50: '#7779c5',
500: '#2c47ab',
950: '#000000',
},
}SCSS
$custom: #2c47ab; $custom-light: #7779c5; $custom-dark: #000000;
JSON
{
"hex": "#2c47ab",
"rgb": {
"r": 44,
"g": 71,
"b": 171
},
"hsl": {
"h": 227.244,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.44024,
"c": 0.16324,
"h": 267.6
},
"luminance": 0.07982
}Semantic roles & 50–950 ramp
primary
#2C47AB
secondary
#C3B26F
accent
#C146E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82