#3047B8#3047B8
#3047B8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.180 H 269.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3047B8 |
|---|---|
| RGB | rgb(48, 71, 184) |
| HSL | hsl(230, 59%, 45%) |
| HSV | hsv(230, 74%, 72%) |
| CMYK | cmyk(73.9%, 61.4%, 0%, 27.8%) |
| CIE-LAB | lab(35.19, 31.02, -62.20) |
| CIE-LCH | lch(35.19, 69.51, 296.51°) |
| OKLab | oklab(45.33% -0.003 -0.1797) |
| OKLCH | oklch(45.33% 0.18 269) |
| XYZ | xyz(12.1209, 8.5943, 46.3582) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.46
Cobalt
#0047AB
ΔE00 4.33
Sapphire (survey)
#2138AB
ΔE00 4.66
Blue (survey)
#0343DF
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 4.89
Sapphire
#0F52BA
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3047B8 #B8A130
analogous
#308BB8 #3047B8 #5D30B8
triadic
#3047B8 #B83047 #47B830
tetradic
#3047B8 #B8308B #B8A130 #30B85D
square
#3047B8 #B8308B #B8A130 #30B85D
split-complementary
#3047B8 #B85D30 #8BB830
monochromatic
#172257 #233487 #3047B8 #5369D2 #8493DF
Accessibility & contrast
On white
7.72
#3047B8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#3047B8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3047B8
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3047B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3047B8 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3047b8; /* rgb */ color: rgb(48, 71, 184); /* oklch */ color: oklch(45.3% 0.180 269.0);
Tailwind
colors: {
custom: {
50: '#7c7ace',
500: '#3047b8',
950: '#000000',
},
}SCSS
$custom: #3047b8; $custom-light: #7c7ace; $custom-dark: #000000;
JSON
{
"hex": "#3047b8",
"rgb": {
"r": 48,
"g": 71,
"b": 184
},
"hsl": {
"h": 229.853,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.45334,
"c": 0.17969,
"h": 269
},
"luminance": 0.08596
}Semantic roles & 50–950 ramp
primary
#3047B8
secondary
#C8BB7C
accent
#C746E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82