#2F47BE#2F47BE
#2F47BE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.188 H 268.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47BE |
|---|---|
| RGB | rgb(47, 71, 190) |
| HSL | hsl(230, 60%, 46%) |
| HSV | hsv(230, 75%, 75%) |
| CMYK | cmyk(75.3%, 62.6%, 0%, 25.5%) |
| CIE-LAB | lab(35.65, 33.10, -64.98) |
| CIE-LCH | lch(35.65, 72.93, 297.00°) |
| OKLab | oklab(45.82% -0.0041 -0.1878) |
| OKLCH | oklch(45.82% 0.188 268.8) |
| XYZ | xyz(12.7166, 8.8271, 49.7388) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.88
Blue (survey)
#0343DF
ΔE00 4.10
Cobalt
#0047AB
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 4.87
Sapphire (survey)
#2138AB
ΔE00 4.98
Sapphire
#0F52BA
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47BE #BEA62F
analogous
#2F8FBE #2F47BE #5F2FBE
triadic
#2F47BE #BE2F47 #47BE2F
tetradic
#2F47BE #BE2F8F #BEA62F #2FBE5F
square
#2F47BE #BE2F8F #BEA62F #2FBE5F
split-complementary
#2F47BE #BE5F2F #8FBE2F
monochromatic
#17225C #23358D #2F47BE #556BD5 #8696E1
Accessibility & contrast
On white
7.59
#2F47BE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2F47BE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47BE
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47BE | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f47be; /* rgb */ color: rgb(47, 71, 190); /* oklch */ color: oklch(45.8% 0.188 268.8);
Tailwind
colors: {
custom: {
50: '#7d7ad3',
500: '#2f47be',
950: '#000000',
},
}SCSS
$custom: #2f47be; $custom-light: #7d7ad3; $custom-dark: #000000;
JSON
{
"hex": "#2f47be",
"rgb": {
"r": 47,
"g": 71,
"b": 190
},
"hsl": {
"h": 229.93,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.45817,
"c": 0.18788,
"h": 268.8
},
"luminance": 0.08829
}Semantic roles & 50–950 ramp
primary
#2F47BE
secondary
#CBBE7E
accent
#C944E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83