#2F47B1#2F47B1
#2F47B1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.171 H 268.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47B1 |
|---|---|
| RGB | rgb(47, 71, 177) |
| HSL | hsl(229, 58%, 44%) |
| HSV | hsv(229, 73%, 69%) |
| CMYK | cmyk(73.4%, 59.9%, 0%, 30.6%) |
| CIE-LAB | lab(34.57, 28.32, -59.08) |
| CIE-LCH | lch(34.57, 65.52, 295.61°) |
| OKLab | oklab(44.68% -0.004 -0.1705) |
| OKLCH | oklch(44.68% 0.171 268.7) |
| XYZ | xyz(11.3586, 8.2839, 42.5868) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.31
Cobalt
#0047AB
ΔE00 3.66
Sapphire (survey)
#2138AB
ΔE00 4.47
Sapphire
#0F52BA
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.33
Blue (survey)
#0343DF
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47B1 #B1992F
analogous
#2F88B1 #2F47B1 #582FB1
triadic
#2F47B1 #B12F47 #47B12F
tetradic
#2F47B1 #B12F88 #B1992F #2FB158
square
#2F47B1 #B12F88 #B1992F #2FB158
split-complementary
#2F47B1 #B1582F #88B12F
monochromatic
#152050 #223481 #2F47B1 #4D65D0 #7E8FDD
Accessibility & contrast
On white
7.90
#2F47B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2F47B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47B1
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47B1 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f47b1; /* rgb */ color: rgb(47, 71, 177); /* oklch */ color: oklch(44.7% 0.171 268.7);
Tailwind
colors: {
custom: {
50: '#7a7ac9',
500: '#2f47b1',
950: '#000000',
},
}SCSS
$custom: #2f47b1; $custom-light: #7a7ac9; $custom-dark: #000000;
JSON
{
"hex": "#2f47b1",
"rgb": {
"r": 47,
"g": 71,
"b": 177
},
"hsl": {
"h": 228.923,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.44679,
"c": 0.17057,
"h": 268.7
},
"luminance": 0.08285
}Semantic roles & 50–950 ramp
primary
#2F47B1
secondary
#C5B776
accent
#C547E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82