#2F47A4#2F47A4
#2F47A4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.153 H 268.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47A4 |
|---|---|
| RGB | rgb(47, 71, 164) |
| HSL | hsl(228, 55%, 41%) |
| HSV | hsv(228, 71%, 64%) |
| CMYK | cmyk(71.3%, 56.7%, 0%, 35.7%) |
| CIE-LAB | lab(33.54, 23.47, -52.99) |
| CIE-LCH | lch(33.54, 57.95, 293.89°) |
| OKLab | oklab(43.59% -0.0043 -0.1526) |
| OKLCH | oklch(43.59% 0.153 268.4) |
| XYZ | xyz(10.1241, 7.7901, 36.0849) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.20
Cobalt (survey)
#1E488F
ΔE00 4.47
Sapphire (survey)
#2138AB
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.09
Blueberry
#464196
ΔE00 5.19
Sapphire
#0F52BA
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47A4 #A48C2F
analogous
#2F82A4 #2F47A4 #522FA4
triadic
#2F47A4 #A42F47 #47A42F
tetradic
#2F47A4 #A42F82 #A48C2F #2FA452
square
#2F47A4 #A42F82 #A48C2F #2FA452
split-complementary
#2F47A4 #A4522F #82A42F
monochromatic
#141E45 #213274 #2F47A4 #4661CA #768AD8
Accessibility & contrast
On white
8.21
#2F47A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2F47A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47A4
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47A4 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f47a4; /* rgb */ color: rgb(47, 71, 164); /* oklch */ color: oklch(43.6% 0.153 268.4);
Tailwind
colors: {
custom: {
50: '#7779c0',
500: '#2f47a4',
950: '#000000',
},
}SCSS
$custom: #2f47a4; $custom-light: #7779c0; $custom-dark: #000000;
JSON
{
"hex": "#2f47a4",
"rgb": {
"r": 47,
"g": 71,
"b": 164
},
"hsl": {
"h": 227.692,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.43591,
"c": 0.15269,
"h": 268.4
},
"luminance": 0.07791
}Semantic roles & 50–950 ramp
primary
#2F47A4
secondary
#C0AF6F
accent
#C049DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81