#2F47BF#2F47BF
#2F47BF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.189 H 268.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F47BF |
|---|---|
| RGB | rgb(47, 71, 191) |
| HSL | hsl(230, 61%, 47%) |
| HSV | hsv(230, 75%, 75%) |
| CMYK | cmyk(75.4%, 62.8%, 0%, 25.1%) |
| CIE-LAB | lab(35.73, 33.47, -65.43) |
| CIE-LCH | lch(35.73, 73.49, 297.09°) |
| OKLab | oklab(45.91% -0.0041 -0.1892) |
| OKLCH | oklch(45.91% 0.189 268.8) |
| XYZ | xyz(12.8263, 8.8710, 50.3164) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.80
Blue (survey)
#0343DF
ΔE00 3.97
Ocean Blue
#4F42B5
ΔE00 4.86
Cobalt
#0047AB
ΔE00 4.92
Sapphire (survey)
#2138AB
ΔE00 5.04
Sapphire
#0F52BA
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F47BF #BFA72F
analogous
#2F8FBF #2F47BF #5F2FBF
triadic
#2F47BF #BF2F47 #47BF2F
tetradic
#2F47BF #BF2F8F #BFA72F #2FBF5F
square
#2F47BF #BF2F8F #BFA72F #2FBF5F
split-complementary
#2F47BF #BF5F2F #8FBF2F
monochromatic
#17225D #23358E #2F47BF #566BD5 #8796E1
Accessibility & contrast
On white
7.57
#2F47BF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2F47BF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F47BF
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F47BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F47BF | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f47bf; /* rgb */ color: rgb(47, 71, 191); /* oklch */ color: oklch(45.9% 0.189 268.8);
Tailwind
colors: {
custom: {
50: '#7d7ad3',
500: '#2f47bf',
950: '#000000',
},
}SCSS
$custom: #2f47bf; $custom-light: #7d7ad3; $custom-dark: #000000;
JSON
{
"hex": "#2f47bf",
"rgb": {
"r": 47,
"g": 71,
"b": 191
},
"hsl": {
"h": 230,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.45906,
"c": 0.18919,
"h": 268.8
},
"luminance": 0.08872
}Semantic roles & 50–950 ramp
primary
#2F47BF
secondary
#CBBE7F
accent
#C944E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83