#3048B4#3048B4
#3048B4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.173 H 268.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3048B4 |
|---|---|
| RGB | rgb(48, 72, 180) |
| HSL | hsl(229, 58%, 45%) |
| HSV | hsv(229, 73%, 71%) |
| CMYK | cmyk(73.3%, 60%, 0%, 29.4%) |
| CIE-LAB | lab(35.12, 28.90, -59.96) |
| CIE-LCH | lch(35.12, 66.56, 295.73°) |
| OKLab | oklab(45.18% -0.0037 -0.1731) |
| OKLCH | oklch(45.18% 0.173 268.8) |
| XYZ | xyz(11.7717, 8.5572, 44.2025) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.11
Cobalt
#0047AB
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 4.82
Sapphire
#0F52BA
ΔE00 4.83
Ocean Blue
#4F42B5
ΔE00 5.26
Blue (survey)
#0343DF
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3048B4 #B49C30
analogous
#308AB4 #3048B4 #5A30B4
triadic
#3048B4 #B43048 #48B430
tetradic
#3048B4 #B4308A #B49C30 #30B45A
square
#3048B4 #B4308A #B49C30 #30B45A
split-complementary
#3048B4 #B45A30 #8AB430
monochromatic
#162153 #233584 #3048B4 #5168D1 #8192DD
Accessibility & contrast
On white
7.74
#3048B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#3048B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3048B4
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3048B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3048B4 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 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: #3048b4; /* rgb */ color: rgb(48, 72, 180); /* oklch */ color: oklch(45.2% 0.173 268.8);
Tailwind
colors: {
custom: {
50: '#7b7acb',
500: '#3048b4',
950: '#000000',
},
}SCSS
$custom: #3048b4; $custom-light: #7b7acb; $custom-dark: #000000;
JSON
{
"hex": "#3048b4",
"rgb": {
"r": 48,
"g": 72,
"b": 180
},
"hsl": {
"h": 229.091,
"s": 57.895,
"l": 44.706
},
"oklch": {
"l": 0.45177,
"c": 0.17311,
"h": 268.8
},
"luminance": 0.08558
}Semantic roles & 50–950 ramp
primary
#3048B4
secondary
#C6B879
accent
#C547E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82