#3148B4#3148B4
#3148B4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.173 H 269.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3148B4 |
|---|---|
| RGB | rgb(49, 72, 180) |
| HSL | hsl(229, 57%, 45%) |
| HSV | hsv(229, 73%, 71%) |
| CMYK | cmyk(72.8%, 60%, 0%, 29.4%) |
| CIE-LAB | lab(35.17, 29.02, -59.87) |
| CIE-LCH | lch(35.17, 66.54, 295.86°) |
| OKLab | oklab(45.23% -0.0028 -0.1728) |
| OKLCH | oklch(45.23% 0.173 269.1) |
| XYZ | xyz(11.8194, 8.5818, 44.2047) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.10
Cobalt
#0047AB
ΔE00 3.99
Sapphire (survey)
#2138AB
ΔE00 4.82
Sapphire
#0F52BA
ΔE00 4.91
Ocean Blue
#4F42B5
ΔE00 5.15
Blue (survey)
#0343DF
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3148B4 #B49D31
analogous
#3189B4 #3148B4 #5C31B4
triadic
#3148B4 #B43148 #48B431
tetradic
#3148B4 #B43189 #B49D31 #31B45C
square
#3148B4 #B43189 #B49D31 #31B45C
split-complementary
#3148B4 #B45C31 #89B431
monochromatic
#172254 #243584 #3148B4 #5268D0 #8292DD
Accessibility & contrast
On white
7.73
#3148B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#3148B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3148B4
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3148B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3148B4 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3148b4; /* rgb */ color: rgb(49, 72, 180); /* oklch */ color: oklch(45.2% 0.173 269.1);
Tailwind
colors: {
custom: {
50: '#7b7acb',
500: '#3148b4',
950: '#000000',
},
}SCSS
$custom: #3148b4; $custom-light: #7b7acb; $custom-dark: #000000;
JSON
{
"hex": "#3148b4",
"rgb": {
"r": 49,
"g": 72,
"b": 180
},
"hsl": {
"h": 229.466,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.45227,
"c": 0.17283,
"h": 269.1
},
"luminance": 0.08583
}Semantic roles & 50–950 ramp
primary
#3148B4
secondary
#C6B97B
accent
#C647E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82