#3048AF#3048AF
#3048AF is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.166 H 268.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3048AF |
|---|---|
| RGB | rgb(48, 72, 175) |
| HSL | hsl(229, 57%, 44%) |
| HSV | hsv(229, 73%, 69%) |
| CMYK | cmyk(72.6%, 58.9%, 0%, 31.4%) |
| CIE-LAB | lab(34.72, 27.05, -57.65) |
| CIE-LCH | lch(34.72, 63.68, 295.14°) |
| OKLab | oklab(44.75% -0.0038 -0.1663) |
| OKLCH | oklch(44.75% 0.166 268.7) |
| XYZ | xyz(11.2715, 8.3571, 41.5682) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.53
Blue Blue
#2242C7
ΔE00 3.72
Sapphire (survey)
#2138AB
ΔE00 4.78
Sapphire
#0F52BA
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 5.55
Cobalt (survey)
#1E488F
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3048AF #AF9730
analogous
#3087AF #3048AF #5730AF
triadic
#3048AF #AF3048 #48AF30
tetradic
#3048AF #AF3087 #AF9730 #30AF57
square
#3048AF #AF3087 #AF9730 #30AF57
split-complementary
#3048AF #AF5730 #87AF30
monochromatic
#16204F #23347F #3048AF #4E66CE #7E90DC
Accessibility & contrast
On white
7.86
#3048AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#3048AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3048AF
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3048AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3048AF | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3048af; /* rgb */ color: rgb(48, 72, 175); /* oklch */ color: oklch(44.8% 0.166 268.7);
Tailwind
colors: {
custom: {
50: '#7a7ac8',
500: '#3048af',
950: '#000000',
},
}SCSS
$custom: #3048af; $custom-light: #7a7ac8; $custom-dark: #000000;
JSON
{
"hex": "#3048af",
"rgb": {
"r": 48,
"g": 72,
"b": 175
},
"hsl": {
"h": 228.661,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.44753,
"c": 0.16632,
"h": 268.7
},
"luminance": 0.08358
}Semantic roles & 50–950 ramp
primary
#3048AF
secondary
#C4B676
accent
#C348E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82