#3147B7#3147B7
#3147B7 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.178 H 269.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3147B7 |
|---|---|
| RGB | rgb(49, 71, 183) |
| HSL | hsl(230, 58%, 45%) |
| HSV | hsv(230, 73%, 72%) |
| CMYK | cmyk(73.2%, 61.2%, 0%, 28.2%) |
| CIE-LAB | lab(35.16, 30.78, -61.66) |
| CIE-LCH | lch(35.16, 68.92, 296.52°) |
| OKLab | oklab(45.3% -0.002 -0.1781) |
| OKLCH | oklch(45.3% 0.178 269.3) |
| XYZ | xyz(12.0642, 8.5771, 45.8103) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.57
Cobalt
#0047AB
ΔE00 4.35
Sapphire (survey)
#2138AB
ΔE00 4.63
Ocean Blue
#4F42B5
ΔE00 4.82
Blue (survey)
#0343DF
ΔE00 5.00
Sapphire
#0F52BA
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3147B7 #B7A131
analogous
#318AB7 #3147B7 #5E31B7
triadic
#3147B7 #B73147 #47B731
tetradic
#3147B7 #B7318A #B7A131 #31B75E
square
#3147B7 #B7318A #B7A131 #31B75E
split-complementary
#3147B7 #B75E31 #8AB731
monochromatic
#172256 #243487 #3147B7 #5469D1 #8493DE
Accessibility & contrast
On white
7.73
#3147B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#3147B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3147B7
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3147B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3147B7 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3147b7; /* rgb */ color: rgb(49, 71, 183); /* oklch */ color: oklch(45.3% 0.178 269.3);
Tailwind
colors: {
custom: {
50: '#7c7ace',
500: '#3147b7',
950: '#000000',
},
}SCSS
$custom: #3147b7; $custom-light: #7c7ace; $custom-dark: #000000;
JSON
{
"hex": "#3147b7",
"rgb": {
"r": 49,
"g": 71,
"b": 183
},
"hsl": {
"h": 230.149,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.45297,
"c": 0.17808,
"h": 269.3
},
"luminance": 0.08578
}Semantic roles & 50–950 ramp
primary
#3147B7
secondary
#C8BB7C
accent
#C847E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82