#3147AD#3147AD
#3147AD is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.165 H 269.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3147AD |
|---|---|
| RGB | rgb(49, 71, 173) |
| HSL | hsl(229, 56%, 44%) |
| HSV | hsv(229, 72%, 68%) |
| CMYK | cmyk(71.7%, 59%, 0%, 32.2%) |
| CIE-LAB | lab(34.35, 27.10, -57.06) |
| CIE-LCH | lch(34.35, 63.16, 295.40°) |
| OKLab | oklab(44.44% -0.0021 -0.1645) |
| OKLCH | oklch(44.44% 0.165 269.3) |
| XYZ | xyz(11.0601, 8.1755, 40.5222) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.66
Blue Blue
#2242C7
ΔE00 3.82
Sapphire (survey)
#2138AB
ΔE00 4.48
Sapphire
#0F52BA
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 5.37
Blueberry
#464196
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3147AD #AD9731
analogous
#3185AD #3147AD #5931AD
triadic
#3147AD #AD3147 #47AD31
tetradic
#3147AD #AD3185 #AD9731 #31AD59
square
#3147AD #AD3185 #AD9731 #31AD59
split-complementary
#3147AD #AD5931 #85AD31
monochromatic
#16204E #23337D #3147AD #4E65CD #7E8EDA
Accessibility & contrast
On white
7.97
#3147AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#3147AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3147AD
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3147AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3147AD | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3147ad; /* rgb */ color: rgb(49, 71, 173); /* oklch */ color: oklch(44.4% 0.165 269.3);
Tailwind
colors: {
custom: {
50: '#7a7ac6',
500: '#3147ad',
950: '#000000',
},
}SCSS
$custom: #3147ad; $custom-light: #7a7ac6; $custom-dark: #000000;
JSON
{
"hex": "#3147ad",
"rgb": {
"r": 49,
"g": 71,
"b": 173
},
"hsl": {
"h": 229.355,
"s": 55.856,
"l": 43.529
},
"oklch": {
"l": 0.44441,
"c": 0.16455,
"h": 269.3
},
"luminance": 0.08177
}Semantic roles & 50–950 ramp
primary
#3147AD
secondary
#C3B677
accent
#C449DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82