#3048B7#3048B7
#3048B7 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.177 H 268.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3048B7 |
|---|---|
| RGB | rgb(48, 72, 183) |
| HSL | hsl(229, 58%, 45%) |
| HSV | hsv(229, 74%, 72%) |
| CMYK | cmyk(73.8%, 60.7%, 0%, 28.2%) |
| CIE-LAB | lab(35.36, 30.00, -61.33) |
| CIE-LCH | lch(35.36, 68.28, 296.07°) |
| OKLab | oklab(45.44% -0.0037 -0.1771) |
| OKLCH | oklch(45.44% 0.177 268.8) |
| XYZ | xyz(12.0806, 8.6807, 45.8294) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.77
Cobalt
#0047AB
ΔE00 4.13
Sapphire
#0F52BA
ΔE00 4.88
Sapphire (survey)
#2138AB
ΔE00 4.90
Blue (survey)
#0343DF
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3048B7 #B79F30
analogous
#308CB7 #3048B7 #5B30B7
triadic
#3048B7 #B73048 #48B730
tetradic
#3048B7 #B7308C #B79F30 #30B75B
square
#3048B7 #B7308C #B79F30 #30B75B
split-complementary
#3048B7 #B75B30 #8CB730
monochromatic
#172256 #233587 #3048B7 #5269D2 #8393DE
Accessibility & contrast
On white
7.67
#3048B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3048B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3048B7
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3048B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3048B7 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3048b7; /* rgb */ color: rgb(48, 72, 183); /* oklch */ color: oklch(45.4% 0.177 268.8);
Tailwind
colors: {
custom: {
50: '#7c7acd',
500: '#3048b7',
950: '#000000',
},
}SCSS
$custom: #3048b7; $custom-light: #7c7acd; $custom-dark: #000000;
JSON
{
"hex": "#3048b7",
"rgb": {
"r": 48,
"g": 72,
"b": 183
},
"hsl": {
"h": 229.333,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.45436,
"c": 0.17714,
"h": 268.8
},
"luminance": 0.08682
}Semantic roles & 50–950 ramp
primary
#3048B7
secondary
#C8BA7B
accent
#C646E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82