#2F47B9#2F47B9
#2F47B9 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.181 H 268.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47B9 |
|---|---|
| RGB | rgb(47, 71, 185) |
| HSL | hsl(230, 59%, 45%) |
| HSV | hsv(230, 75%, 73%) |
| CMYK | cmyk(74.6%, 61.6%, 0%, 27.5%) |
| CIE-LAB | lab(35.23, 31.27, -62.73) |
| CIE-LCH | lch(35.23, 70.09, 296.50°) |
| OKLab | oklab(45.37% -0.004 -0.1812) |
| OKLCH | oklch(45.37% 0.181 268.7) |
| XYZ | xyz(12.1795, 8.6123, 46.9100) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.35
Cobalt
#0047AB
ΔE00 4.32
Sapphire (survey)
#2138AB
ΔE00 4.70
Blue (survey)
#0343DF
ΔE00 4.74
Ocean Blue
#4F42B5
ΔE00 4.97
Sapphire
#0F52BA
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47B9 #B9A12F
analogous
#2F8CB9 #2F47B9 #5C2FB9
triadic
#2F47B9 #B92F47 #47B92F
tetradic
#2F47B9 #B92F8C #B9A12F #2FB95C
square
#2F47B9 #B92F8C #B9A12F #2FB95C
split-complementary
#2F47B9 #B95C2F #8CB92F
monochromatic
#162257 #233488 #2F47B9 #5269D3 #8393DF
Accessibility & contrast
On white
7.71
#2F47B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2F47B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47B9
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47B9 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f47b9; /* rgb */ color: rgb(47, 71, 185); /* oklch */ color: oklch(45.4% 0.181 268.7);
Tailwind
colors: {
custom: {
50: '#7c7acf',
500: '#2f47b9',
950: '#000000',
},
}SCSS
$custom: #2f47b9; $custom-light: #7c7acf; $custom-dark: #000000;
JSON
{
"hex": "#2f47b9",
"rgb": {
"r": 47,
"g": 71,
"b": 185
},
"hsl": {
"h": 229.565,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.45374,
"c": 0.18128,
"h": 268.7
},
"luminance": 0.08614
}Semantic roles & 50–950 ramp
primary
#2F47B9
secondary
#C9BB7B
accent
#C745E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82