#2F47B3#2F47B3
#2F47B3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.173 H 268.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47B3 |
|---|---|
| RGB | rgb(47, 71, 179) |
| HSL | hsl(229, 58%, 44%) |
| HSV | hsv(229, 74%, 70%) |
| CMYK | cmyk(73.7%, 60.3%, 0%, 29.8%) |
| CIE-LAB | lab(34.73, 29.06, -60.00) |
| CIE-LCH | lch(34.73, 66.66, 295.84°) |
| OKLab | oklab(44.85% -0.0039 -0.1732) |
| OKLCH | oklch(44.85% 0.173 268.7) |
| XYZ | xyz(11.5594, 8.3643, 43.6443) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.06
Cobalt
#0047AB
ΔE00 3.81
Sapphire (survey)
#2138AB
ΔE00 4.50
Sapphire
#0F52BA
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.22
Blue (survey)
#0343DF
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47B3 #B39B2F
analogous
#2F89B3 #2F47B3 #592FB3
triadic
#2F47B3 #B32F47 #47B32F
tetradic
#2F47B3 #B32F89 #B39B2F #2FB359
square
#2F47B3 #B32F89 #B39B2F #2FB359
split-complementary
#2F47B3 #B3592F #89B32F
monochromatic
#162152 #223483 #2F47B3 #4F66D1 #7F90DD
Accessibility & contrast
On white
7.86
#2F47B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2F47B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47B3
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47B3 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f47b3; /* rgb */ color: rgb(47, 71, 179); /* oklch */ color: oklch(44.9% 0.173 268.7);
Tailwind
colors: {
custom: {
50: '#7a7acb',
500: '#2f47b3',
950: '#000000',
},
}SCSS
$custom: #2f47b3; $custom-light: #7a7acb; $custom-dark: #000000;
JSON
{
"hex": "#2f47b3",
"rgb": {
"r": 47,
"g": 71,
"b": 179
},
"hsl": {
"h": 229.091,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.44851,
"c": 0.17326,
"h": 268.7
},
"luminance": 0.08365
}Semantic roles & 50–950 ramp
primary
#2F47B3
secondary
#C6B878
accent
#C546E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82