#2B47AC#2B47AC
#2B47AC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.165 H 267.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2B47AC |
|---|---|
| RGB | rgb(43, 71, 172) |
| HSL | hsl(227, 60%, 42%) |
| HSV | hsv(227, 75%, 67%) |
| CMYK | cmyk(75%, 58.7%, 0%, 32.5%) |
| CIE-LAB | lab(33.98, 25.96, -57.07) |
| CIE-LCH | lch(33.98, 62.70, 294.45°) |
| OKLab | oklab(44.06% -0.0077 -0.1647) |
| OKLCH | oklch(44.06% 0.165 267.3) |
| XYZ | xyz(10.6933, 7.9975, 40.0018) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.90
Blue Blue
#2242C7
ΔE00 4.06
Sapphire (survey)
#2138AB
ΔE00 4.56
Sapphire
#0F52BA
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.12
Blueberry
#464196
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B47AC #AC902B
analogous
#2B87AC #2B47AC #502BAC
triadic
#2B47AC #AC2B47 #47AC2B
tetradic
#2B47AC #AC2B87 #AC902B #2BAC50
square
#2B47AC #AC2B87 #AC902B #2BAC50
split-complementary
#2B47AC #AC502B #87AC2B
monochromatic
#131F4A #1F337B #2B47AC #4462D0 #758BDC
Accessibility & contrast
On white
8.08
#2B47AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2B47AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B47AC
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B47AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B47AC | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 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: #2b47ac; /* rgb */ color: rgb(43, 71, 172); /* oklch */ color: oklch(44.1% 0.165 267.3);
Tailwind
colors: {
custom: {
50: '#7779c6',
500: '#2b47ac',
950: '#000000',
},
}SCSS
$custom: #2b47ac; $custom-light: #7779c6; $custom-dark: #000000;
JSON
{
"hex": "#2b47ac",
"rgb": {
"r": 43,
"g": 71,
"b": 172
},
"hsl": {
"h": 226.977,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.44062,
"c": 0.1649,
"h": 267.3
},
"luminance": 0.07999
}Semantic roles & 50–950 ramp
primary
#2B47AC
secondary
#C4B26F
accent
#C145E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82