#2F47A9#2F47A9
#2F47A9 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.160 H 268.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47A9 |
|---|---|
| RGB | rgb(47, 71, 169) |
| HSL | hsl(228, 56%, 42%) |
| HSV | hsv(228, 72%, 66%) |
| CMYK | cmyk(72.2%, 58%, 0%, 33.7%) |
| CIE-LAB | lab(33.93, 25.34, -55.35) |
| CIE-LCH | lch(33.93, 60.88, 294.60°) |
| OKLab | oklab(44% -0.0041 -0.1596) |
| OKLCH | oklch(44% 0.16 268.5) |
| XYZ | xyz(10.5845, 7.9743, 38.5098) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 4.39
Sapphire (survey)
#2138AB
ΔE00 4.58
Cobalt (survey)
#1E488F
ΔE00 5.07
Sapphire
#0F52BA
ΔE00 5.11
Blueberry
#464196
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47A9 #A9912F
analogous
#2F84A9 #2F47A9 #542FA9
triadic
#2F47A9 #A92F47 #47A92F
tetradic
#2F47A9 #A92F84 #A9912F #2FA954
square
#2F47A9 #A92F84 #A9912F #2FA954
split-complementary
#2F47A9 #A9542F #84A92F
monochromatic
#141F49 #223379 #2F47A9 #4963CC #798CDA
Accessibility & contrast
On white
8.09
#2F47A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2F47A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47A9
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47A9 | 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)
#0056AC
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f47a9; /* rgb */ color: rgb(47, 71, 169); /* oklch */ color: oklch(44.0% 0.160 268.5);
Tailwind
colors: {
custom: {
50: '#7879c3',
500: '#2f47a9',
950: '#000000',
},
}SCSS
$custom: #2f47a9; $custom-light: #7879c3; $custom-dark: #000000;
JSON
{
"hex": "#2f47a9",
"rgb": {
"r": 47,
"g": 71,
"b": 169
},
"hsl": {
"h": 228.197,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.44003,
"c": 0.15963,
"h": 268.5
},
"luminance": 0.07975
}Semantic roles & 50–950 ramp
primary
#2F47A9
secondary
#C2B272
accent
#C248E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82