#2F47AE#2F47AE
#2F47AE is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.167 H 268.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47AE |
|---|---|
| RGB | rgb(47, 71, 174) |
| HSL | hsl(229, 57%, 43%) |
| HSV | hsv(229, 73%, 68%) |
| CMYK | cmyk(73%, 59.2%, 0%, 31.8%) |
| CIE-LAB | lab(34.33, 27.20, -57.69) |
| CIE-LCH | lch(34.33, 63.78, 295.25°) |
| OKLab | oklab(44.42% -0.004 -0.1664) |
| OKLCH | oklch(44.42% 0.167 268.6) |
| XYZ | xyz(11.0629, 8.1657, 41.0293) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.47
Blue Blue
#2242C7
ΔE00 3.70
Sapphire (survey)
#2138AB
ΔE00 4.47
Sapphire
#0F52BA
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 5.53
Blueberry
#464196
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47AE #AE962F
analogous
#2F86AE #2F47AE #562FAE
triadic
#2F47AE #AE2F47 #47AE2F
tetradic
#2F47AE #AE2F86 #AE962F #2FAE56
square
#2F47AE #AE2F86 #AE962F #2FAE56
split-complementary
#2F47AE #AE562F #86AE2F
monochromatic
#15204E #22337E #2F47AE #4C64CF #7C8EDC
Accessibility & contrast
On white
7.97
#2F47AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2F47AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47AE
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47AE | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f47ae; /* rgb */ color: rgb(47, 71, 174); /* oklch */ color: oklch(44.4% 0.167 268.6);
Tailwind
colors: {
custom: {
50: '#7979c7',
500: '#2f47ae',
950: '#000000',
},
}SCSS
$custom: #2f47ae; $custom-light: #7979c7; $custom-dark: #000000;
JSON
{
"hex": "#2f47ae",
"rgb": {
"r": 47,
"g": 71,
"b": 174
},
"hsl": {
"h": 228.661,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.44423,
"c": 0.1665,
"h": 268.6
},
"luminance": 0.08167
}Semantic roles & 50–950 ramp
primary
#2F47AE
secondary
#C4B575
accent
#C447E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82