#3147AF#3147AF
#3147AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.167 H 269.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3147AF |
|---|---|
| RGB | rgb(49, 71, 175) |
| HSL | hsl(230, 56%, 44%) |
| HSV | hsv(230, 72%, 69%) |
| CMYK | cmyk(72%, 59.4%, 0%, 31.4%) |
| CIE-LAB | lab(34.51, 27.84, -57.99) |
| CIE-LCH | lch(34.51, 64.32, 295.64°) |
| OKLab | oklab(44.61% -0.002 -0.1673) |
| OKLCH | oklch(44.61% 0.167 269.3) |
| XYZ | xyz(11.2551, 8.2534, 41.5490) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.55
Cobalt
#0047AB
ΔE00 3.77
Sapphire (survey)
#2138AB
ΔE00 4.46
Sapphire
#0F52BA
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 5.23
Blueberry
#464196
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3147AF #AF9931
analogous
#3186AF #3147AF #5A31AF
triadic
#3147AF #AF3147 #47AF31
tetradic
#3147AF #AF3186 #AF9931 #31AF5A
square
#3147AF #AF3186 #AF9931 #31AF5A
split-complementary
#3147AF #AF5A31 #86AF31
monochromatic
#16204F #24347F #3147AF #4F65CE #7F8FDB
Accessibility & contrast
On white
7.92
#3147AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#3147AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3147AF
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3147AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3147AF | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3147af; /* rgb */ color: rgb(49, 71, 175); /* oklch */ color: oklch(44.6% 0.167 269.3);
Tailwind
colors: {
custom: {
50: '#7a7ac8',
500: '#3147af',
950: '#000000',
},
}SCSS
$custom: #3147af; $custom-light: #7a7ac8; $custom-dark: #000000;
JSON
{
"hex": "#3147af",
"rgb": {
"r": 49,
"g": 71,
"b": 175
},
"hsl": {
"h": 229.524,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.44609,
"c": 0.16729,
"h": 269.3
},
"luminance": 0.08255
}Semantic roles & 50–950 ramp
primary
#3147AF
secondary
#C4B778
accent
#C548E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82