#2F47AB#2F47AB
#2F47AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.162 H 268.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47AB |
|---|---|
| RGB | rgb(47, 71, 171) |
| HSL | hsl(228, 57%, 43%) |
| HSV | hsv(228, 73%, 67%) |
| CMYK | cmyk(72.5%, 58.5%, 0%, 32.9%) |
| CIE-LAB | lab(34.09, 26.09, -56.29) |
| CIE-LCH | lch(34.09, 62.04, 294.87°) |
| OKLab | oklab(44.17% -0.004 -0.1623) |
| OKLCH | oklch(44.17% 0.162 268.6) |
| XYZ | xyz(10.7737, 8.0500, 39.5062) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.33
Blue Blue
#2242C7
ΔE00 4.11
Sapphire (survey)
#2138AB
ΔE00 4.52
Sapphire
#0F52BA
ΔE00 5.07
Cobalt (survey)
#1E488F
ΔE00 5.32
Blueberry
#464196
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47AB #AB932F
analogous
#2F85AB #2F47AB #552FAB
triadic
#2F47AB #AB2F47 #47AB2F
tetradic
#2F47AB #AB2F85 #AB932F #2FAB55
square
#2F47AB #AB2F85 #AB932F #2FAB55
split-complementary
#2F47AB #AB552F #85AB2F
monochromatic
#151F4B #22337B #2F47AB #4A63CD #7A8DDA
Accessibility & contrast
On white
8.05
#2F47AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2F47AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47AB
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47AB | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f47ab; /* rgb */ color: rgb(47, 71, 171); /* oklch */ color: oklch(44.2% 0.162 268.6);
Tailwind
colors: {
custom: {
50: '#7979c5',
500: '#2f47ab',
950: '#000000',
},
}SCSS
$custom: #2f47ab; $custom-light: #7979c5; $custom-dark: #000000;
JSON
{
"hex": "#2f47ab",
"rgb": {
"r": 47,
"g": 71,
"b": 171
},
"hsl": {
"h": 228.387,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.4417,
"c": 0.16239,
"h": 268.6
},
"luminance": 0.08051
}Semantic roles & 50–950 ramp
primary
#2F47AB
secondary
#C3B373
accent
#C348E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82