#2F47A3#2F47A3
#2F47A3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.151 H 268.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47A3 |
|---|---|
| RGB | rgb(47, 71, 163) |
| HSL | hsl(228, 55%, 41%) |
| HSV | hsv(228, 71%, 64%) |
| CMYK | cmyk(71.2%, 56.4%, 0%, 36.1%) |
| CIE-LAB | lab(33.47, 23.10, -52.51) |
| CIE-LCH | lch(33.47, 57.37, 293.74°) |
| OKLab | oklab(43.51% -0.0044 -0.1512) |
| OKLCH | oklch(43.51% 0.151 268.3) |
| XYZ | xyz(10.0341, 7.7541, 35.6111) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.21
Cobalt (survey)
#1E488F
ΔE00 4.35
Sapphire (survey)
#2138AB
ΔE00 4.88
Blueberry
#464196
ΔE00 5.17
Blue Blue
#2242C7
ΔE00 5.24
Sapphire
#0F52BA
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47A3 #A38B2F
analogous
#2F81A3 #2F47A3 #512FA3
triadic
#2F47A3 #A32F47 #47A32F
tetradic
#2F47A3 #A32F81 #A38B2F #2FA351
square
#2F47A3 #A32F81 #A38B2F #2FA351
split-complementary
#2F47A3 #A3512F #81A32F
monochromatic
#141E44 #213273 #2F47A3 #4661CA #7589D7
Accessibility & contrast
On white
8.23
#2F47A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2F47A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47A3
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47A3 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f47a3; /* rgb */ color: rgb(47, 71, 163); /* oklch */ color: oklch(43.5% 0.151 268.3);
Tailwind
colors: {
custom: {
50: '#7779bf',
500: '#2f47a3',
950: '#000000',
},
}SCSS
$custom: #2f47a3; $custom-light: #7779bf; $custom-dark: #000000;
JSON
{
"hex": "#2f47a3",
"rgb": {
"r": 47,
"g": 71,
"b": 163
},
"hsl": {
"h": 227.586,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.4351,
"c": 0.15128,
"h": 268.3
},
"luminance": 0.07755
}Semantic roles & 50–950 ramp
primary
#2F47A3
secondary
#BFAE6F
accent
#C049DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81