#3147BC#3147BC
#3147BC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.185 H 269.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #3147BC |
|---|---|
| RGB | rgb(49, 71, 188) |
| HSL | hsl(231, 59%, 46%) |
| HSV | hsv(231, 74%, 74%) |
| CMYK | cmyk(73.9%, 62.2%, 0%, 26.3%) |
| CIE-LAB | lab(35.57, 32.60, -63.92) |
| CIE-LCH | lch(35.57, 71.76, 297.02°) |
| OKLab | oklab(45.74% -0.0021 -0.1847) |
| OKLCH | oklch(45.74% 0.185 269.3) |
| XYZ | xyz(12.5938, 8.7890, 48.5999) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.07
Blue (survey)
#0343DF
ΔE00 4.36
Ocean Blue
#4F42B5
ΔE00 4.70
Cobalt
#0047AB
ΔE00 4.80
Sapphire (survey)
#2138AB
ΔE00 4.88
Sapphire
#0F52BA
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3147BC #BCA631
analogous
#318DBC #3147BC #6131BC
triadic
#3147BC #BC3147 #47BC31
tetradic
#3147BC #BC318D #BCA631 #31BC61
square
#3147BC #BC318D #BCA631 #31BC61
split-complementary
#3147BC #BC6131 #8DBC31
monochromatic
#18225B #24358B #3147BC #576BD3 #8896E0
Accessibility & contrast
On white
7.61
#3147BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#3147BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3147BC
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3147BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3147BC | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3147bc; /* rgb */ color: rgb(49, 71, 188); /* oklch */ color: oklch(45.7% 0.185 269.3);
Tailwind
colors: {
custom: {
50: '#7d7ad1',
500: '#3147bc',
950: '#000000',
},
}SCSS
$custom: #3147bc; $custom-light: #7d7ad1; $custom-dark: #000000;
JSON
{
"hex": "#3147bc",
"rgb": {
"r": 49,
"g": 71,
"b": 188
},
"hsl": {
"h": 230.504,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.45735,
"c": 0.18471,
"h": 269.3
},
"luminance": 0.0879
}Semantic roles & 50–950 ramp
primary
#3147BC
secondary
#CABE7F
accent
#C946E2
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83