#3149B4#3149B4
#3149B4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.172 H 268.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3149B4 |
|---|---|
| RGB | rgb(49, 73, 180) |
| HSL | hsl(229, 57%, 45%) |
| HSV | hsv(229, 73%, 71%) |
| CMYK | cmyk(72.8%, 59.4%, 0%, 29.4%) |
| CIE-LAB | lab(35.42, 28.37, -59.45) |
| CIE-LCH | lch(35.42, 65.88, 295.51°) |
| OKLab | oklab(45.42% -0.0035 -0.1716) |
| OKLCH | oklch(45.42% 0.172 268.8) |
| XYZ | xyz(11.8845, 8.7121, 44.2264) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.30
Cobalt
#0047AB
ΔE00 3.89
Sapphire
#0F52BA
ΔE00 4.63
Sapphire (survey)
#2138AB
ΔE00 5.12
Ocean Blue
#4F42B5
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3149B4 #B49C31
analogous
#318AB4 #3149B4 #5B31B4
triadic
#3149B4 #B43149 #49B431
tetradic
#3149B4 #B4318A #B49C31 #31B45B
square
#3149B4 #B4318A #B49C31 #31B45B
split-complementary
#3149B4 #B45B31 #8AB431
monochromatic
#172254 #243584 #3149B4 #5269D0 #8293DD
Accessibility & contrast
On white
7.66
#3149B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3149B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3149B4
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3149B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3149B4 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3149b4; /* rgb */ color: rgb(49, 73, 180); /* oklch */ color: oklch(45.4% 0.172 268.8);
Tailwind
colors: {
custom: {
50: '#7b7bcb',
500: '#3149b4',
950: '#000000',
},
}SCSS
$custom: #3149b4; $custom-light: #7b7bcb; $custom-dark: #000000;
JSON
{
"hex": "#3149b4",
"rgb": {
"r": 49,
"g": 73,
"b": 180
},
"hsl": {
"h": 229.008,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.45419,
"c": 0.1716,
"h": 268.8
},
"luminance": 0.08713
}Semantic roles & 50–950 ramp
primary
#3149B4
secondary
#C6B87B
accent
#C447E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82