#3048B2#3048B2
#3048B2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.170 H 268.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3048B2 |
|---|---|
| RGB | rgb(48, 72, 178) |
| HSL | hsl(229, 58%, 44%) |
| HSV | hsv(229, 73%, 70%) |
| CMYK | cmyk(73%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(34.96, 28.16, -59.04) |
| CIE-LCH | lch(34.96, 65.41, 295.50°) |
| OKLab | oklab(45.01% -0.0037 -0.1704) |
| OKLCH | oklch(45.01% 0.17 268.7) |
| XYZ | xyz(11.5694, 8.4763, 43.1372) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.35
Cobalt
#0047AB
ΔE00 3.72
Sapphire (survey)
#2138AB
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3048B2 #B29A30
analogous
#3089B2 #3048B2 #5930B2
triadic
#3048B2 #B23048 #48B230
tetradic
#3048B2 #B23089 #B29A30 #30B259
square
#3048B2 #B23089 #B29A30 #30B259
split-complementary
#3048B2 #B25930 #89B230
monochromatic
#162152 #233582 #3048B2 #5067D0 #8091DD
Accessibility & contrast
On white
7.79
#3048B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#3048B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3048B2
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3048B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3048B2 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3048b2; /* rgb */ color: rgb(48, 72, 178); /* oklch */ color: oklch(45.0% 0.170 268.7);
Tailwind
colors: {
custom: {
50: '#7a7aca',
500: '#3048b2',
950: '#000000',
},
}SCSS
$custom: #3048b2; $custom-light: #7a7aca; $custom-dark: #000000;
JSON
{
"hex": "#3048b2",
"rgb": {
"r": 48,
"g": 72,
"b": 178
},
"hsl": {
"h": 228.923,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.45007,
"c": 0.1704,
"h": 268.7
},
"luminance": 0.08477
}Semantic roles & 50–950 ramp
primary
#3048B2
secondary
#C6B778
accent
#C447E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82