#3148B9#3148B9
#3148B9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.180 H 269.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #3148B9 |
|---|---|
| RGB | rgb(49, 72, 185) |
| HSL | hsl(230, 58%, 46%) |
| HSV | hsv(230, 74%, 73%) |
| CMYK | cmyk(73.5%, 61.1%, 0%, 27.5%) |
| CIE-LAB | lab(35.58, 30.86, -62.16) |
| CIE-LCH | lch(35.58, 69.40, 296.40°) |
| OKLab | oklab(45.66% -0.0028 -0.1795) |
| OKLCH | oklch(45.66% 0.18 269.1) |
| XYZ | xyz(12.3379, 8.7892, 46.9358) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.56
Cobalt
#0047AB
ΔE00 4.41
Blue (survey)
#0343DF
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 4.95
Sapphire (survey)
#2138AB
ΔE00 4.98
Sapphire
#0F52BA
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3148B9 #B9A231
analogous
#318CB9 #3148B9 #5E31B9
triadic
#3148B9 #B93148 #48B931
tetradic
#3148B9 #B9318C #B9A231 #31B95E
square
#3148B9 #B9318C #B9A231 #31B95E
split-complementary
#3148B9 #B95E31 #8CB931
monochromatic
#172258 #243589 #3148B9 #556AD2 #8695DF
Accessibility & contrast
On white
7.61
#3148B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#3148B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3148B9
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3148B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3148B9 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3148b9; /* rgb */ color: rgb(49, 72, 185); /* oklch */ color: oklch(45.7% 0.180 269.1);
Tailwind
colors: {
custom: {
50: '#7c7acf',
500: '#3148b9',
950: '#000000',
},
}SCSS
$custom: #3148b9; $custom-light: #7c7acf; $custom-dark: #000000;
JSON
{
"hex": "#3148b9",
"rgb": {
"r": 49,
"g": 72,
"b": 185
},
"hsl": {
"h": 229.853,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.45658,
"c": 0.17953,
"h": 269.1
},
"luminance": 0.0879
}Semantic roles & 50–950 ramp
primary
#3148B9
secondary
#C8BC7D
accent
#C746E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82