#3048B6#3048B6
#3048B6 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.176 H 268.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3048B6 |
|---|---|
| RGB | rgb(48, 72, 182) |
| HSL | hsl(229, 58%, 45%) |
| HSV | hsv(229, 74%, 71%) |
| CMYK | cmyk(73.6%, 60.4%, 0%, 28.6%) |
| CIE-LAB | lab(35.28, 29.64, -60.87) |
| CIE-LCH | lch(35.28, 67.70, 295.96°) |
| OKLab | oklab(45.35% -0.0037 -0.1758) |
| OKLCH | oklch(45.35% 0.176 268.8) |
| XYZ | xyz(11.9769, 8.6392, 45.2832) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.88
Cobalt
#0047AB
ΔE00 4.04
Sapphire
#0F52BA
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 5.16
Blue (survey)
#0343DF
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3048B6 #B69E30
analogous
#308BB6 #3048B6 #5B30B6
triadic
#3048B6 #B63048 #48B630
tetradic
#3048B6 #B6308B #B69E30 #30B65B
square
#3048B6 #B6308B #B69E30 #30B65B
split-complementary
#3048B6 #B65B30 #8BB630
monochromatic
#162255 #233586 #3048B6 #5269D1 #8293DE
Accessibility & contrast
On white
7.70
#3048B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#3048B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3048B6
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3048B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3048B6 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3048b6; /* rgb */ color: rgb(48, 72, 182); /* oklch */ color: oklch(45.3% 0.176 268.8);
Tailwind
colors: {
custom: {
50: '#7b7acd',
500: '#3048b6',
950: '#000000',
},
}SCSS
$custom: #3048b6; $custom-light: #7b7acd; $custom-dark: #000000;
JSON
{
"hex": "#3048b6",
"rgb": {
"r": 48,
"g": 72,
"b": 182
},
"hsl": {
"h": 229.254,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.45349,
"c": 0.1758,
"h": 268.8
},
"luminance": 0.08641
}Semantic roles & 50–950 ramp
primary
#3048B6
secondary
#C7BA7B
accent
#C646E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82