#3148B8#3148B8
#3148B8 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.178 H 269.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3148B8 |
|---|---|
| RGB | rgb(49, 72, 184) |
| HSL | hsl(230, 58%, 46%) |
| HSV | hsv(230, 73%, 72%) |
| CMYK | cmyk(73.4%, 60.9%, 0%, 27.8%) |
| CIE-LAB | lab(35.49, 30.49, -61.70) |
| CIE-LCH | lch(35.49, 68.83, 296.30°) |
| OKLab | oklab(45.57% -0.0028 -0.1782) |
| OKLCH | oklch(45.57% 0.178 269.1) |
| XYZ | xyz(12.2327, 8.7471, 46.3818) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.66
Cobalt
#0047AB
ΔE00 4.32
Blue (survey)
#0343DF
ΔE00 4.94
Sapphire (survey)
#2138AB
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 4.98
Sapphire
#0F52BA
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3148B8 #B8A131
analogous
#318BB8 #3148B8 #5D31B8
triadic
#3148B8 #B83148 #48B831
tetradic
#3148B8 #B8318B #B8A131 #31B85D
square
#3148B8 #B8318B #B8A131 #31B85D
split-complementary
#3148B8 #B85D31 #8BB831
monochromatic
#172257 #243588 #3148B8 #556AD2 #8594DE
Accessibility & contrast
On white
7.64
#3148B8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#3148B8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3148B8
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3148B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3148B8 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3148b8; /* rgb */ color: rgb(49, 72, 184); /* oklch */ color: oklch(45.6% 0.178 269.1);
Tailwind
colors: {
custom: {
50: '#7c7ace',
500: '#3148b8',
950: '#000000',
},
}SCSS
$custom: #3148b8; $custom-light: #7c7ace; $custom-dark: #000000;
JSON
{
"hex": "#3148b8",
"rgb": {
"r": 49,
"g": 72,
"b": 184
},
"hsl": {
"h": 229.778,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.45571,
"c": 0.1782,
"h": 269.1
},
"luminance": 0.08748
}Semantic roles & 50–950 ramp
primary
#3148B8
secondary
#C8BB7D
accent
#C747E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82