#3048B3#3048B3
#3048B3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.172 H 268.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3048B3 |
|---|---|
| RGB | rgb(48, 72, 179) |
| HSL | hsl(229, 58%, 45%) |
| HSV | hsv(229, 73%, 70%) |
| CMYK | cmyk(73.2%, 59.8%, 0%, 29.8%) |
| CIE-LAB | lab(35.04, 28.53, -59.50) |
| CIE-LCH | lch(35.04, 65.98, 295.62°) |
| OKLab | oklab(45.09% -0.0037 -0.1717) |
| OKLCH | oklch(45.09% 0.172 268.8) |
| XYZ | xyz(11.6702, 8.5166, 43.6679) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.22
Cobalt
#0047AB
ΔE00 3.80
Sapphire (survey)
#2138AB
ΔE00 4.80
Sapphire
#0F52BA
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 5.31
Blue (survey)
#0343DF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3048B3 #B39B30
analogous
#3089B3 #3048B3 #5A30B3
triadic
#3048B3 #B33048 #48B330
tetradic
#3048B3 #B33089 #B39B30 #30B35A
square
#3048B3 #B33089 #B39B30 #30B35A
split-complementary
#3048B3 #B35A30 #89B330
monochromatic
#162152 #233583 #3048B3 #5068D0 #8091DD
Accessibility & contrast
On white
7.77
#3048B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#3048B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3048B3
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3048B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3048B3 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3048b3; /* rgb */ color: rgb(48, 72, 179); /* oklch */ color: oklch(45.1% 0.172 268.8);
Tailwind
colors: {
custom: {
50: '#7b7acb',
500: '#3048b3',
950: '#000000',
},
}SCSS
$custom: #3048b3; $custom-light: #7b7acb; $custom-dark: #000000;
JSON
{
"hex": "#3048b3",
"rgb": {
"r": 48,
"g": 72,
"b": 179
},
"hsl": {
"h": 229.008,
"s": 57.709,
"l": 44.51
},
"oklch": {
"l": 0.45092,
"c": 0.17176,
"h": 268.8
},
"luminance": 0.08518
}Semantic roles & 50–950 ramp
primary
#3048B3
secondary
#C6B879
accent
#C547E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82