#2F47A2#2F47A2
#2F47A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.150 H 268.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47A2 |
|---|---|
| RGB | rgb(47, 71, 162) |
| HSL | hsl(227, 55%, 41%) |
| HSV | hsv(227, 71%, 64%) |
| CMYK | cmyk(71%, 56.2%, 0%, 36.5%) |
| CIE-LAB | lab(33.39, 22.72, -52.03) |
| CIE-LCH | lch(33.39, 56.78, 293.59°) |
| OKLab | oklab(43.43% -0.0044 -0.1498) |
| OKLCH | oklch(43.43% 0.15 268.3) |
| XYZ | xyz(9.9449, 7.7185, 35.1411) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.23
Cobalt (survey)
#1E488F
ΔE00 4.23
Sapphire (survey)
#2138AB
ΔE00 4.95
Blueberry
#464196
ΔE00 5.15
Blue Blue
#2242C7
ΔE00 5.38
Sapphire
#0F52BA
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47A2 #A28A2F
analogous
#2F80A2 #2F47A2 #502FA2
triadic
#2F47A2 #A22F47 #47A22F
tetradic
#2F47A2 #A22F80 #A28A2F #2FA250
square
#2F47A2 #A22F80 #A28A2F #2FA250
split-complementary
#2F47A2 #A2502F #80A22F
monochromatic
#131D43 #213273 #2F47A2 #4561C9 #7589D7
Accessibility & contrast
On white
8.26
#2F47A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2F47A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47A2
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47A2 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f47a2; /* rgb */ color: rgb(47, 71, 162); /* oklch */ color: oklch(43.4% 0.150 268.3);
Tailwind
colors: {
custom: {
50: '#7779be',
500: '#2f47a2',
950: '#000000',
},
}SCSS
$custom: #2f47a2; $custom-light: #7779be; $custom-dark: #000000;
JSON
{
"hex": "#2f47a2",
"rgb": {
"r": 47,
"g": 71,
"b": 162
},
"hsl": {
"h": 227.478,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.43429,
"c": 0.14988,
"h": 268.3
},
"luminance": 0.07719
}Semantic roles & 50–950 ramp
primary
#2F47A2
secondary
#BFAE6E
accent
#BF49DE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81