#3147B1#3147B1
#3147B1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.170 H 269.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3147B1 |
|---|---|
| RGB | rgb(49, 71, 177) |
| HSL | hsl(230, 57%, 44%) |
| HSV | hsv(230, 72%, 69%) |
| CMYK | cmyk(72.3%, 59.9%, 0%, 30.6%) |
| CIE-LAB | lab(34.67, 28.57, -58.91) |
| CIE-LCH | lch(34.67, 65.48, 295.87°) |
| OKLab | oklab(44.78% -0.002 -0.17) |
| OKLCH | oklch(44.78% 0.17 269.3) |
| XYZ | xyz(11.4529, 8.3326, 42.5912) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.30
Cobalt
#0047AB
ΔE00 3.89
Sapphire (survey)
#2138AB
ΔE00 4.47
Ocean Blue
#4F42B5
ΔE00 5.11
Sapphire
#0F52BA
ΔE00 5.18
Blueberry
#464196
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3147B1 #B19B31
analogous
#3187B1 #3147B1 #5B31B1
triadic
#3147B1 #B13147 #47B131
tetradic
#3147B1 #B13187 #B19B31 #31B15B
square
#3147B1 #B13187 #B19B31 #31B15B
split-complementary
#3147B1 #B15B31 #87B131
monochromatic
#162151 #243481 #3147B1 #5166CF #8090DC
Accessibility & contrast
On white
7.87
#3147B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#3147B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3147B1
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3147B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3147B1 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3147b1; /* rgb */ color: rgb(49, 71, 177); /* oklch */ color: oklch(44.8% 0.170 269.3);
Tailwind
colors: {
custom: {
50: '#7b7ac9',
500: '#3147b1',
950: '#000000',
},
}SCSS
$custom: #3147b1; $custom-light: #7b7ac9; $custom-dark: #000000;
JSON
{
"hex": "#3147b1",
"rgb": {
"r": 49,
"g": 71,
"b": 177
},
"hsl": {
"h": 229.688,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.44779,
"c": 0.17,
"h": 269.3
},
"luminance": 0.08334
}Semantic roles & 50–950 ramp
primary
#3147B1
secondary
#C5B879
accent
#C648E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82