#2F47AC#2F47AC
#2F47AC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.164 H 268.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47AC |
|---|---|
| RGB | rgb(47, 71, 172) |
| HSL | hsl(228, 57%, 43%) |
| HSV | hsv(228, 73%, 67%) |
| CMYK | cmyk(72.7%, 58.7%, 0%, 32.5%) |
| CIE-LAB | lab(34.17, 26.46, -56.76) |
| CIE-LCH | lch(34.17, 62.62, 295.00°) |
| OKLab | oklab(44.25% -0.004 -0.1637) |
| OKLCH | oklch(44.25% 0.164 268.6) |
| XYZ | xyz(10.8694, 8.0882, 40.0101) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.37
Blue Blue
#2242C7
ΔE00 3.97
Sapphire (survey)
#2138AB
ΔE00 4.50
Sapphire
#0F52BA
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 5.44
Blueberry
#464196
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47AC #AC942F
analogous
#2F85AC #2F47AC #552FAC
triadic
#2F47AC #AC2F47 #47AC2F
tetradic
#2F47AC #AC2F85 #AC942F #2FAC55
square
#2F47AC #AC2F85 #AC942F #2FAC55
split-complementary
#2F47AC #AC552F #85AC2F
monochromatic
#151F4C #22337C #2F47AC #4B64CE #7B8DDB
Accessibility & contrast
On white
8.02
#2F47AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2F47AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47AC
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47AC | 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)
#0056AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f47ac; /* rgb */ color: rgb(47, 71, 172); /* oklch */ color: oklch(44.3% 0.164 268.6);
Tailwind
colors: {
custom: {
50: '#7979c6',
500: '#2f47ac',
950: '#000000',
},
}SCSS
$custom: #2f47ac; $custom-light: #7979c6; $custom-dark: #000000;
JSON
{
"hex": "#2f47ac",
"rgb": {
"r": 47,
"g": 71,
"b": 172
},
"hsl": {
"h": 228.48,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.44254,
"c": 0.16376,
"h": 268.6
},
"luminance": 0.08089
}Semantic roles & 50–950 ramp
primary
#2F47AC
secondary
#C3B474
accent
#C347E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82