#3047B2#3047B2
#3047B2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.172 H 269.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3047B2 |
|---|---|
| RGB | rgb(48, 71, 178) |
| HSL | hsl(229, 58%, 44%) |
| HSV | hsv(229, 73%, 70%) |
| CMYK | cmyk(73%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(34.70, 28.81, -59.46) |
| CIE-LCH | lch(34.70, 66.07, 295.86°) |
| OKLab | oklab(44.81% -0.003 -0.1716) |
| OKLCH | oklch(44.81% 0.172 269) |
| XYZ | xyz(11.5053, 8.3480, 43.1158) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.17
Cobalt
#0047AB
ΔE00 3.84
Sapphire (survey)
#2138AB
ΔE00 4.48
Sapphire
#0F52BA
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.16
Blue (survey)
#0343DF
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3047B2 #B29B30
analogous
#3088B2 #3047B2 #5A30B2
triadic
#3047B2 #B23047 #47B230
tetradic
#3047B2 #B23088 #B29B30 #30B25A
square
#3047B2 #B23088 #B29B30 #30B25A
split-complementary
#3047B2 #B25A30 #88B230
monochromatic
#162152 #233482 #3047B2 #5066D0 #8090DD
Accessibility & contrast
On white
7.87
#3047B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#3047B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3047B2
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3047B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3047B2 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3047b2; /* rgb */ color: rgb(48, 71, 178); /* oklch */ color: oklch(44.8% 0.172 269.0);
Tailwind
colors: {
custom: {
50: '#7b7aca',
500: '#3047b2',
950: '#000000',
},
}SCSS
$custom: #3047b2; $custom-light: #7b7aca; $custom-dark: #000000;
JSON
{
"hex": "#3047b2",
"rgb": {
"r": 48,
"g": 71,
"b": 178
},
"hsl": {
"h": 229.385,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.44814,
"c": 0.17164,
"h": 269
},
"luminance": 0.08349
}Semantic roles & 50–950 ramp
primary
#3047B2
secondary
#C6B878
accent
#C647E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82