#3147B5#3147B5
#3147B5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.175 H 269.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3147B5 |
|---|---|
| RGB | rgb(49, 71, 181) |
| HSL | hsl(230, 57%, 45%) |
| HSV | hsv(230, 73%, 71%) |
| CMYK | cmyk(72.9%, 60.8%, 0%, 29%) |
| CIE-LAB | lab(34.99, 30.04, -60.75) |
| CIE-LCH | lch(34.99, 67.77, 296.31°) |
| OKLab | oklab(45.12% -0.002 -0.1754) |
| OKLCH | oklch(45.12% 0.175 269.3) |
| XYZ | xyz(11.8575, 8.4944, 44.7218) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.80
Cobalt
#0047AB
ΔE00 4.18
Sapphire (survey)
#2138AB
ΔE00 4.56
Ocean Blue
#4F42B5
ΔE00 4.90
Sapphire
#0F52BA
ΔE00 5.21
Blue (survey)
#0343DF
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3147B5 #B59F31
analogous
#3189B5 #3147B5 #5D31B5
triadic
#3147B5 #B53147 #47B531
tetradic
#3147B5 #B53189 #B59F31 #31B55D
square
#3147B5 #B53189 #B59F31 #31B55D
split-complementary
#3147B5 #B55D31 #89B531
monochromatic
#172155 #243485 #3147B5 #5368D0 #8392DD
Accessibility & contrast
On white
7.78
#3147B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#3147B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3147B5
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3147B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3147B5 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3147b5; /* rgb */ color: rgb(49, 71, 181); /* oklch */ color: oklch(45.1% 0.175 269.3);
Tailwind
colors: {
custom: {
50: '#7c7acc',
500: '#3147b5',
950: '#000000',
},
}SCSS
$custom: #3147b5; $custom-light: #7c7acc; $custom-dark: #000000;
JSON
{
"hex": "#3147b5",
"rgb": {
"r": 49,
"g": 71,
"b": 181
},
"hsl": {
"h": 230,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.45123,
"c": 0.1754,
"h": 269.3
},
"luminance": 0.08496
}Semantic roles & 50–950 ramp
primary
#3147B5
secondary
#C7BA7B
accent
#C747E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82