#3147AB#3147AB
#3147AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.162 H 269.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3147AB |
|---|---|
| RGB | rgb(49, 71, 171) |
| HSL | hsl(229, 55%, 43%) |
| HSV | hsv(229, 71%, 67%) |
| CMYK | cmyk(71.3%, 58.5%, 0%, 32.9%) |
| CIE-LAB | lab(34.19, 26.36, -56.12) |
| CIE-LCH | lch(34.19, 62.00, 295.16°) |
| OKLab | oklab(44.27% -0.0021 -0.1618) |
| OKLCH | oklch(44.27% 0.162 269.2) |
| XYZ | xyz(10.8680, 8.0986, 39.5106) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.58
Blue Blue
#2242C7
ΔE00 4.09
Sapphire (survey)
#2138AB
ΔE00 4.51
Sapphire
#0F52BA
ΔE00 5.23
Blueberry
#464196
ΔE00 5.26
Cobalt (survey)
#1E488F
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3147AB #AB9531
analogous
#3184AB #3147AB #5831AB
triadic
#3147AB #AB3147 #47AB31
tetradic
#3147AB #AB3184 #AB9531 #31AB58
square
#3147AB #AB3184 #AB9531 #31AB58
split-complementary
#3147AB #AB5831 #84AB31
monochromatic
#161F4C #23337B #3147AB #4D64CC #7D8DDA
Accessibility & contrast
On white
8.02
#3147AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#3147AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3147AB
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3147AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3147AB | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3147ab; /* rgb */ color: rgb(49, 71, 171); /* oklch */ color: oklch(44.3% 0.162 269.2);
Tailwind
colors: {
custom: {
50: '#797ac5',
500: '#3147ab',
950: '#000000',
},
}SCSS
$custom: #3147ab; $custom-light: #797ac5; $custom-dark: #000000;
JSON
{
"hex": "#3147ab",
"rgb": {
"r": 49,
"g": 71,
"b": 171
},
"hsl": {
"h": 229.18,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.44273,
"c": 0.16181,
"h": 269.2
},
"luminance": 0.081
}Semantic roles & 50–950 ramp
primary
#3147AB
secondary
#C2B475
accent
#C449DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82