#2F47BC#2F47BC
#2F47BC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.185 H 268.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47BC |
|---|---|
| RGB | rgb(47, 71, 188) |
| HSL | hsl(230, 60%, 46%) |
| HSV | hsv(230, 75%, 74%) |
| CMYK | cmyk(75%, 62.2%, 0%, 26.3%) |
| CIE-LAB | lab(35.48, 32.37, -64.08) |
| CIE-LCH | lch(35.48, 71.80, 296.80°) |
| OKLab | oklab(45.64% -0.004 -0.1852) |
| OKLCH | oklch(45.64% 0.185 268.8) |
| XYZ | xyz(12.4995, 8.7403, 48.5955) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.05
Blue (survey)
#0343DF
ΔE00 4.35
Cobalt
#0047AB
ΔE00 4.61
Sapphire (survey)
#2138AB
ΔE00 4.85
Ocean Blue
#4F42B5
ΔE00 4.89
Sapphire
#0F52BA
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47BC #BCA42F
analogous
#2F8DBC #2F47BC #5D2FBC
triadic
#2F47BC #BC2F47 #47BC2F
tetradic
#2F47BC #BC2F8D #BCA42F #2FBC5D
square
#2F47BC #BC2F8D #BCA42F #2FBC5D
split-complementary
#2F47BC #BC5D2F #8DBC2F
monochromatic
#17225A #23358B #2F47BC #546AD4 #8595E0
Accessibility & contrast
On white
7.64
#2F47BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2F47BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47BC
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47BC | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f47bc; /* rgb */ color: rgb(47, 71, 188); /* oklch */ color: oklch(45.6% 0.185 268.8);
Tailwind
colors: {
custom: {
50: '#7d7ad1',
500: '#2f47bc',
950: '#000000',
},
}SCSS
$custom: #2f47bc; $custom-light: #7d7ad1; $custom-dark: #000000;
JSON
{
"hex": "#2f47bc",
"rgb": {
"r": 47,
"g": 71,
"b": 188
},
"hsl": {
"h": 229.787,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.45639,
"c": 0.18525,
"h": 268.8
},
"luminance": 0.08742
}Semantic roles & 50–950 ramp
primary
#2F47BC
secondary
#CABD7D
accent
#C845E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83