#3147B2#3147B2
#3147B2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.171 H 269.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3147B2 |
|---|---|
| RGB | rgb(49, 71, 178) |
| HSL | hsl(230, 57%, 45%) |
| HSV | hsv(230, 72%, 70%) |
| CMYK | cmyk(72.5%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(34.75, 28.94, -59.37) |
| CIE-LCH | lch(34.75, 66.05, 295.99°) |
| OKLab | oklab(44.87% -0.002 -0.1713) |
| OKLCH | oklch(44.87% 0.171 269.3) |
| XYZ | xyz(11.5530, 8.3726, 43.1181) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.17
Cobalt
#0047AB
ΔE00 3.96
Sapphire (survey)
#2138AB
ΔE00 4.49
Ocean Blue
#4F42B5
ΔE00 5.05
Sapphire
#0F52BA
ΔE00 5.18
Blue (survey)
#0343DF
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3147B2 #B29C31
analogous
#3188B2 #3147B2 #5B31B2
triadic
#3147B2 #B23147 #47B231
tetradic
#3147B2 #B23188 #B29C31 #31B25B
square
#3147B2 #B23188 #B29C31 #31B25B
split-complementary
#3147B2 #B25B31 #88B231
monochromatic
#172152 #243482 #3147B2 #5167CF #8191DC
Accessibility & contrast
On white
7.85
#3147B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#3147B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3147B2
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3147B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3147B2 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3147b2; /* rgb */ color: rgb(49, 71, 178); /* oklch */ color: oklch(44.9% 0.171 269.3);
Tailwind
colors: {
custom: {
50: '#7b7aca',
500: '#3147b2',
950: '#000000',
},
}SCSS
$custom: #3147b2; $custom-light: #7b7aca; $custom-dark: #000000;
JSON
{
"hex": "#3147b2",
"rgb": {
"r": 49,
"g": 71,
"b": 178
},
"hsl": {
"h": 229.767,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.44865,
"c": 0.17136,
"h": 269.3
},
"luminance": 0.08374
}Semantic roles & 50–950 ramp
primary
#3147B2
secondary
#C5B879
accent
#C648E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82