#2C47AC#2C47AC
#2C47AC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.165 H 267.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C47AC |
|---|---|
| RGB | rgb(44, 71, 172) |
| HSL | hsl(227, 59%, 42%) |
| HSV | hsv(227, 74%, 67%) |
| CMYK | cmyk(74.4%, 58.7%, 0%, 32.5%) |
| CIE-LAB | lab(34.02, 26.08, -57.00) |
| CIE-LCH | lch(34.02, 62.68, 294.59°) |
| OKLab | oklab(44.11% -0.0068 -0.1645) |
| OKLCH | oklch(44.11% 0.165 267.6) |
| XYZ | xyz(10.7358, 8.0194, 40.0038) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.01
Blue Blue
#2242C7
ΔE00 4.03
Sapphire (survey)
#2138AB
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.20
Blueberry
#464196
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C47AC #AC912C
analogous
#2C87AC #2C47AC #512CAC
triadic
#2C47AC #AC2C47 #47AC2C
tetradic
#2C47AC #AC2C87 #AC912C #2CAC51
square
#2C47AC #AC2C87 #AC912C #2CAC51
split-complementary
#2C47AC #AC512C #87AC2C
monochromatic
#131F4B #20337B #2C47AC #4663D0 #768CDC
Accessibility & contrast
On white
8.06
#2C47AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2C47AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C47AC
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C47AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C47AC | 1.00 | 8.06 | 2.60 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2c47ac; /* rgb */ color: rgb(44, 71, 172); /* oklch */ color: oklch(44.1% 0.165 267.6);
Tailwind
colors: {
custom: {
50: '#7879c6',
500: '#2c47ac',
950: '#000000',
},
}SCSS
$custom: #2c47ac; $custom-light: #7879c6; $custom-dark: #000000;
JSON
{
"hex": "#2c47ac",
"rgb": {
"r": 44,
"g": 71,
"b": 172
},
"hsl": {
"h": 227.344,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.44109,
"c": 0.16461,
"h": 267.6
},
"luminance": 0.08021
}Semantic roles & 50–950 ramp
primary
#2C47AC
secondary
#C4B270
accent
#C145E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82