#3047AA#3047AA
#3047AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.161 H 268.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #3047AA |
|---|---|
| RGB | rgb(48, 71, 170) |
| HSL | hsl(229, 56%, 43%) |
| HSV | hsv(229, 72%, 67%) |
| CMYK | cmyk(71.8%, 58.2%, 0%, 33.3%) |
| CIE-LAB | lab(34.06, 25.85, -55.74) |
| CIE-LCH | lch(34.06, 61.44, 294.88°) |
| OKLab | oklab(44.14% -0.0031 -0.1607) |
| OKLCH | oklch(44.14% 0.161 268.9) |
| XYZ | xyz(10.7254, 8.0360, 39.0083) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.42
Blue Blue
#2242C7
ΔE00 4.24
Sapphire (survey)
#2138AB
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 5.17
Cobalt (survey)
#1E488F
ΔE00 5.29
Blueberry
#464196
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3047AA #AA9330
analogous
#3084AA #3047AA #5630AA
triadic
#3047AA #AA3047 #47AA30
tetradic
#3047AA #AA3084 #AA9330 #30AA56
square
#3047AA #AA3084 #AA9330 #30AA56
split-complementary
#3047AA #AA5630 #84AA30
monochromatic
#151F4B #23337A #3047AA #4B63CC #7B8DDA
Accessibility & contrast
On white
8.05
#3047AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#3047AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3047AA
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3047AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3047AA | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3047aa; /* rgb */ color: rgb(48, 71, 170); /* oklch */ color: oklch(44.1% 0.161 268.9);
Tailwind
colors: {
custom: {
50: '#7979c4',
500: '#3047aa',
950: '#000000',
},
}SCSS
$custom: #3047aa; $custom-light: #7979c4; $custom-dark: #000000;
JSON
{
"hex": "#3047aa",
"rgb": {
"r": 48,
"g": 71,
"b": 170
},
"hsl": {
"h": 228.689,
"s": 55.963,
"l": 42.745
},
"oklch": {
"l": 0.44138,
"c": 0.16072,
"h": 268.9
},
"luminance": 0.08037
}Semantic roles & 50–950 ramp
primary
#3047AA
secondary
#C2B374
accent
#C349DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82