#3147AC#3147AC
#3147AC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.163 H 269.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3147AC |
|---|---|
| RGB | rgb(49, 71, 172) |
| HSL | hsl(229, 56%, 43%) |
| HSV | hsv(229, 72%, 67%) |
| CMYK | cmyk(71.5%, 58.7%, 0%, 32.5%) |
| CIE-LAB | lab(34.27, 26.73, -56.59) |
| CIE-LCH | lch(34.27, 62.59, 295.28°) |
| OKLab | oklab(44.36% -0.0021 -0.1632) |
| OKLCH | oklch(44.36% 0.163 269.3) |
| XYZ | xyz(10.9637, 8.1369, 40.0145) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.62
Blue Blue
#2242C7
ΔE00 3.95
Sapphire (survey)
#2138AB
ΔE00 4.49
Sapphire
#0F52BA
ΔE00 5.21
Blueberry
#464196
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3147AC #AC9631
analogous
#3184AC #3147AC #5831AC
triadic
#3147AC #AC3147 #47AC31
tetradic
#3147AC #AC3184 #AC9631 #31AC58
square
#3147AC #AC3184 #AC9631 #31AC58
split-complementary
#3147AC #AC5831 #84AC31
monochromatic
#16204D #23337C #3147AC #4E64CC #7D8EDA
Accessibility & contrast
On white
7.99
#3147AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#3147AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3147AC
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3147AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3147AC | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3147ac; /* rgb */ color: rgb(49, 71, 172); /* oklch */ color: oklch(44.4% 0.163 269.3);
Tailwind
colors: {
custom: {
50: '#7a7ac6',
500: '#3147ac',
950: '#000000',
},
}SCSS
$custom: #3147ac; $custom-light: #7a7ac6; $custom-dark: #000000;
JSON
{
"hex": "#3147ac",
"rgb": {
"r": 49,
"g": 71,
"b": 172
},
"hsl": {
"h": 229.268,
"s": 55.656,
"l": 43.333
},
"oklch": {
"l": 0.44357,
"c": 0.16318,
"h": 269.3
},
"luminance": 0.08138
}Semantic roles & 50–950 ramp
primary
#3147AC
secondary
#C3B576
accent
#C449DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82