#3147B3#3147B3
#3147B3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.173 H 269.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3147B3 |
|---|---|
| RGB | rgb(49, 71, 179) |
| HSL | hsl(230, 57%, 45%) |
| HSV | hsv(230, 73%, 70%) |
| CMYK | cmyk(72.6%, 60.3%, 0%, 29.8%) |
| CIE-LAB | lab(34.83, 29.31, -59.83) |
| CIE-LCH | lch(34.83, 66.63, 296.10°) |
| OKLab | oklab(44.95% -0.002 -0.1727) |
| OKLCH | oklch(44.95% 0.173 269.3) |
| XYZ | xyz(11.6537, 8.4129, 43.6488) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.05
Cobalt
#0047AB
ΔE00 4.03
Sapphire (survey)
#2138AB
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 5.00
Sapphire
#0F52BA
ΔE00 5.19
Blue (survey)
#0343DF
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3147B3 #B39D31
analogous
#3188B3 #3147B3 #5C31B3
triadic
#3147B3 #B33147 #47B331
tetradic
#3147B3 #B33188 #B39D31 #31B35C
square
#3147B3 #B33188 #B39D31 #31B35C
split-complementary
#3147B3 #B35C31 #88B331
monochromatic
#172153 #243483 #3147B3 #5267D0 #8291DD
Accessibility & contrast
On white
7.83
#3147B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#3147B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3147B3
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3147B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3147B3 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3147b3; /* rgb */ color: rgb(49, 71, 179); /* oklch */ color: oklch(45.0% 0.173 269.3);
Tailwind
colors: {
custom: {
50: '#7b7acb',
500: '#3147b3',
950: '#000000',
},
}SCSS
$custom: #3147b3; $custom-light: #7b7acb; $custom-dark: #000000;
JSON
{
"hex": "#3147b3",
"rgb": {
"r": 49,
"g": 71,
"b": 179
},
"hsl": {
"h": 229.846,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.44951,
"c": 0.17271,
"h": 269.3
},
"luminance": 0.08414
}Semantic roles & 50–950 ramp
primary
#3147B3
secondary
#C6B97A
accent
#C648E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82