#3149B2#3149B2
#3149B2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.169 H 268.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3149B2 |
|---|---|
| RGB | rgb(49, 73, 178) |
| HSL | hsl(229, 57%, 45%) |
| HSV | hsv(229, 72%, 70%) |
| CMYK | cmyk(72.5%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(35.26, 27.63, -58.53) |
| CIE-LCH | lch(35.26, 64.73, 295.27°) |
| OKLab | oklab(45.25% -0.0035 -0.1688) |
| OKLCH | oklch(45.25% 0.169 268.8) |
| XYZ | xyz(11.6823, 8.6312, 43.1612) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.53
Cobalt
#0047AB
ΔE00 3.75
Sapphire
#0F52BA
ΔE00 4.61
Sapphire (survey)
#2138AB
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 5.47
Blue (survey)
#0343DF
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3149B2 #B29A31
analogous
#318AB2 #3149B2 #5A31B2
triadic
#3149B2 #B23149 #49B231
tetradic
#3149B2 #B2318A #B29A31 #31B25A
square
#3149B2 #B2318A #B29A31 #31B25A
split-complementary
#3149B2 #B25A31 #8AB231
monochromatic
#172252 #243582 #3149B2 #5169CF #8192DC
Accessibility & contrast
On white
7.70
#3149B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#3149B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3149B2
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3149B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3149B2 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3149b2; /* rgb */ color: rgb(49, 73, 178); /* oklch */ color: oklch(45.3% 0.169 268.8);
Tailwind
colors: {
custom: {
50: '#7b7bca',
500: '#3149b2',
950: '#000000',
},
}SCSS
$custom: #3149b2; $custom-light: #7b7bca; $custom-dark: #000000;
JSON
{
"hex": "#3149b2",
"rgb": {
"r": 49,
"g": 73,
"b": 178
},
"hsl": {
"h": 228.837,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.4525,
"c": 0.16889,
"h": 268.8
},
"luminance": 0.08632
}Semantic roles & 50–950 ramp
primary
#3149B2
secondary
#C5B779
accent
#C448E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82