#3047AB#3047AB
#3047AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.162 H 268.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3047AB |
|---|---|
| RGB | rgb(48, 71, 171) |
| HSL | hsl(229, 56%, 43%) |
| HSV | hsv(229, 72%, 67%) |
| CMYK | cmyk(71.9%, 58.5%, 0%, 32.9%) |
| CIE-LAB | lab(34.14, 26.22, -56.21) |
| CIE-LCH | lch(34.14, 62.02, 295.01°) |
| OKLab | oklab(44.22% -0.0031 -0.1621) |
| OKLCH | oklch(44.22% 0.162 268.9) |
| XYZ | xyz(10.8203, 8.0740, 39.5084) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.45
Blue Blue
#2242C7
ΔE00 4.10
Sapphire (survey)
#2138AB
ΔE00 4.51
Sapphire
#0F52BA
ΔE00 5.15
Blueberry
#464196
ΔE00 5.36
Cobalt (survey)
#1E488F
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3047AB #AB9430
analogous
#3085AB #3047AB #5630AB
triadic
#3047AB #AB3047 #47AB30
tetradic
#3047AB #AB3085 #AB9430 #30AB56
square
#3047AB #AB3085 #AB9430 #30AB56
split-complementary
#3047AB #AB5630 #85AB30
monochromatic
#151F4B #23337B #3047AB #4C64CD #7B8DDA
Accessibility & contrast
On white
8.03
#3047AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#3047AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3047AB
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3047AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3047AB | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3047ab; /* rgb */ color: rgb(48, 71, 171); /* oklch */ color: oklch(44.2% 0.162 268.9);
Tailwind
colors: {
custom: {
50: '#7979c5',
500: '#3047ab',
950: '#000000',
},
}SCSS
$custom: #3047ab; $custom-light: #7979c5; $custom-dark: #000000;
JSON
{
"hex": "#3047ab",
"rgb": {
"r": 48,
"g": 71,
"b": 171
},
"hsl": {
"h": 228.78,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.44221,
"c": 0.1621,
"h": 268.9
},
"luminance": 0.08075
}Semantic roles & 50–950 ramp
primary
#3047AB
secondary
#C3B474
accent
#C348DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82