#3048AC#3048AC
#3048AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.162 H 268.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3048AC |
|---|---|
| RGB | rgb(48, 72, 172) |
| HSL | hsl(228, 56%, 43%) |
| HSV | hsv(228, 72%, 67%) |
| CMYK | cmyk(72.1%, 58.1%, 0%, 32.5%) |
| CIE-LAB | lab(34.48, 25.93, -56.25) |
| CIE-LCH | lch(34.48, 61.94, 294.75°) |
| OKLab | oklab(44.5% -0.0038 -0.1622) |
| OKLCH | oklch(44.5% 0.162 268.6) |
| XYZ | xyz(10.9801, 8.2405, 40.0336) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.37
Blue Blue
#2242C7
ΔE00 4.12
Sapphire (survey)
#2138AB
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 4.84
Cobalt (survey)
#1E488F
ΔE00 5.39
Blueberry
#464196
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3048AC #AC9430
analogous
#3086AC #3048AC #5630AC
triadic
#3048AC #AC3048 #48AC30
tetradic
#3048AC #AC3086 #AC9430 #30AC56
square
#3048AC #AC3086 #AC9430 #30AC56
split-complementary
#3048AC #AC5630 #86AC30
monochromatic
#15204C #23347C #3048AC #4C65CD #7C8EDA
Accessibility & contrast
On white
7.93
#3048AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#3048AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3048AC
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3048AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3048AC | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3048ac; /* rgb */ color: rgb(48, 72, 172); /* oklch */ color: oklch(44.5% 0.162 268.6);
Tailwind
colors: {
custom: {
50: '#797ac5',
500: '#3048ac',
950: '#000000',
},
}SCSS
$custom: #3048ac; $custom-light: #797ac5; $custom-dark: #000000;
JSON
{
"hex": "#3048ac",
"rgb": {
"r": 48,
"g": 72,
"b": 172
},
"hsl": {
"h": 228.387,
"s": 56.364,
"l": 43.137
},
"oklch": {
"l": 0.44502,
"c": 0.16222,
"h": 268.6
},
"luminance": 0.08242
}Semantic roles & 50–950 ramp
primary
#3048AC
secondary
#C3B475
accent
#C248E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82