#3148B7#3148B7
#3148B7 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.177 H 269.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3148B7 |
|---|---|
| RGB | rgb(49, 72, 183) |
| HSL | hsl(230, 58%, 45%) |
| HSV | hsv(230, 73%, 72%) |
| CMYK | cmyk(73.2%, 60.7%, 0%, 28.2%) |
| CIE-LAB | lab(35.41, 30.13, -61.25) |
| CIE-LCH | lch(35.41, 68.26, 296.19°) |
| OKLab | oklab(45.49% -0.0028 -0.1768) |
| OKLCH | oklch(45.49% 0.177 269.1) |
| XYZ | xyz(12.1283, 8.7053, 45.8317) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.76
Cobalt
#0047AB
ΔE00 4.23
Sapphire (survey)
#2138AB
ΔE00 4.91
Sapphire
#0F52BA
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 5.02
Blue (survey)
#0343DF
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3148B7 #B7A031
analogous
#318BB7 #3148B7 #5D31B7
triadic
#3148B7 #B73148 #48B731
tetradic
#3148B7 #B7318B #B7A031 #31B75D
square
#3148B7 #B7318B #B7A031 #31B75D
split-complementary
#3148B7 #B75D31 #8BB731
monochromatic
#172256 #243587 #3148B7 #5469D1 #8494DE
Accessibility & contrast
On white
7.66
#3148B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3148B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3148B7
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3148B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3148B7 | 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)
#005ABB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3148b7; /* rgb */ color: rgb(49, 72, 183); /* oklch */ color: oklch(45.5% 0.177 269.1);
Tailwind
colors: {
custom: {
50: '#7c7acd',
500: '#3148b7',
950: '#000000',
},
}SCSS
$custom: #3148b7; $custom-light: #7c7acd; $custom-dark: #000000;
JSON
{
"hex": "#3148b7",
"rgb": {
"r": 49,
"g": 72,
"b": 183
},
"hsl": {
"h": 229.701,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.45485,
"c": 0.17686,
"h": 269.1
},
"luminance": 0.08707
}Semantic roles & 50–950 ramp
primary
#3148B7
secondary
#C8BB7C
accent
#C747E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82