#3148B2#3148B2
#3148B2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.170 H 269.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3148B2 |
|---|---|
| RGB | rgb(49, 72, 178) |
| HSL | hsl(229, 57%, 45%) |
| HSV | hsv(229, 72%, 70%) |
| CMYK | cmyk(72.5%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(35.01, 28.29, -58.95) |
| CIE-LCH | lch(35.01, 65.39, 295.63°) |
| OKLab | oklab(45.06% -0.0028 -0.1701) |
| OKLCH | oklch(45.06% 0.17 269.1) |
| XYZ | xyz(11.6171, 8.5009, 43.1394) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.34
Cobalt
#0047AB
ΔE00 3.84
Sapphire (survey)
#2138AB
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 4.89
Ocean Blue
#4F42B5
ΔE00 5.25
Blue (survey)
#0343DF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3148B2 #B29B31
analogous
#3189B2 #3148B2 #5A31B2
triadic
#3148B2 #B23148 #48B231
tetradic
#3148B2 #B23189 #B29B31 #31B25A
square
#3148B2 #B23189 #B29B31 #31B25A
split-complementary
#3148B2 #B25A31 #89B231
monochromatic
#172152 #243582 #3148B2 #5168CF #8191DC
Accessibility & contrast
On white
7.78
#3148B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#3148B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3148B2
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3148B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3148B2 | 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)
#0058B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3148b2; /* rgb */ color: rgb(49, 72, 178); /* oklch */ color: oklch(45.1% 0.170 269.1);
Tailwind
colors: {
custom: {
50: '#7b7aca',
500: '#3148b2',
950: '#000000',
},
}SCSS
$custom: #3148b2; $custom-light: #7b7aca; $custom-dark: #000000;
JSON
{
"hex": "#3148b2",
"rgb": {
"r": 49,
"g": 72,
"b": 178
},
"hsl": {
"h": 229.302,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.45057,
"c": 0.17012,
"h": 269.1
},
"luminance": 0.08502
}Semantic roles & 50–950 ramp
primary
#3148B2
secondary
#C5B879
accent
#C548E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82