#2F47B8#2F47B8
#2F47B8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.180 H 268.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47B8 |
|---|---|
| RGB | rgb(47, 71, 184) |
| HSL | hsl(229, 59%, 45%) |
| HSV | hsv(229, 74%, 72%) |
| CMYK | cmyk(74.5%, 61.4%, 0%, 27.8%) |
| CIE-LAB | lab(35.14, 30.90, -62.28) |
| CIE-LCH | lch(35.14, 69.53, 296.39°) |
| OKLab | oklab(45.29% -0.004 -0.1799) |
| OKLCH | oklch(45.29% 0.18 268.7) |
| XYZ | xyz(12.0743, 8.5702, 46.3560) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.46
Cobalt
#0047AB
ΔE00 4.23
Sapphire (survey)
#2138AB
ΔE00 4.65
Blue (survey)
#0343DF
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 5.00
Sapphire
#0F52BA
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47B8 #B8A02F
analogous
#2F8BB8 #2F47B8 #5B2FB8
triadic
#2F47B8 #B82F47 #47B82F
tetradic
#2F47B8 #B82F8B #B8A02F #2FB85B
square
#2F47B8 #B82F8B #B8A02F #2FB85B
split-complementary
#2F47B8 #B85B2F #8BB82F
monochromatic
#162157 #233487 #2F47B8 #5268D3 #8293DF
Accessibility & contrast
On white
7.74
#2F47B8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2F47B8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47B8
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47B8 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f47b8; /* rgb */ color: rgb(47, 71, 184); /* oklch */ color: oklch(45.3% 0.180 268.7);
Tailwind
colors: {
custom: {
50: '#7c7ace',
500: '#2f47b8',
950: '#000000',
},
}SCSS
$custom: #2f47b8; $custom-light: #7c7ace; $custom-dark: #000000;
JSON
{
"hex": "#2f47b8",
"rgb": {
"r": 47,
"g": 71,
"b": 184
},
"hsl": {
"h": 229.489,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.45286,
"c": 0.17996,
"h": 268.7
},
"luminance": 0.08572
}Semantic roles & 50–950 ramp
primary
#2F47B8
secondary
#C8BB7B
accent
#C745E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82