#3148B3#3148B3
#3148B3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.171 H 269.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3148B3 |
|---|---|
| RGB | rgb(49, 72, 179) |
| HSL | hsl(229, 57%, 45%) |
| HSV | hsv(229, 73%, 70%) |
| CMYK | cmyk(72.6%, 59.8%, 0%, 29.8%) |
| CIE-LAB | lab(35.09, 28.66, -59.41) |
| CIE-LCH | lch(35.09, 65.96, 295.75°) |
| OKLab | oklab(45.14% -0.0028 -0.1715) |
| OKLCH | oklch(45.14% 0.171 269.1) |
| XYZ | xyz(11.7179, 8.5412, 43.6701) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.22
Cobalt
#0047AB
ΔE00 3.91
Sapphire (survey)
#2138AB
ΔE00 4.80
Sapphire
#0F52BA
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 5.20
Blue (survey)
#0343DF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3148B3 #B39C31
analogous
#3189B3 #3148B3 #5B31B3
triadic
#3148B3 #B33148 #48B331
tetradic
#3148B3 #B33189 #B39C31 #31B35B
square
#3148B3 #B33189 #B39C31 #31B35B
split-complementary
#3148B3 #B35B31 #89B331
monochromatic
#172153 #243583 #3148B3 #5268D0 #8292DD
Accessibility & contrast
On white
7.75
#3148B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#3148B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3148B3
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3148B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3148B3 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3148b3; /* rgb */ color: rgb(49, 72, 179); /* oklch */ color: oklch(45.1% 0.171 269.1);
Tailwind
colors: {
custom: {
50: '#7b7acb',
500: '#3148b3',
950: '#000000',
},
}SCSS
$custom: #3148b3; $custom-light: #7b7acb; $custom-dark: #000000;
JSON
{
"hex": "#3148b3",
"rgb": {
"r": 49,
"g": 72,
"b": 179
},
"hsl": {
"h": 229.385,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.45142,
"c": 0.17148,
"h": 269.1
},
"luminance": 0.08542
}Semantic roles & 50–950 ramp
primary
#3148B3
secondary
#C6B87A
accent
#C548E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82