#3042B6#3042B6
#3042B6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.183 H 270.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3042B6 |
|---|---|
| RGB | rgb(48, 66, 182) |
| HSL | hsl(232, 58%, 45%) |
| HSV | hsv(232, 74%, 71%) |
| CMYK | cmyk(73.6%, 63.7%, 0%, 28.6%) |
| CIE-LAB | lab(33.78, 33.52, -63.33) |
| CIE-LCH | lch(33.78, 71.65, 297.89°) |
| OKLab | oklab(44.24% 0.0004 -0.183) |
| OKLCH | oklch(44.24% 0.183 270.1) |
| XYZ | xyz(11.6077, 7.9010, 45.1602) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.24
Sapphire (survey)
#2138AB
ΔE00 3.29
Ocean Blue
#4F42B5
ΔE00 4.26
Cobalt
#0047AB
ΔE00 4.99
Blue (survey)
#0343DF
ΔE00 5.05
Blueberry
#464196
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3042B6 #B6A430
analogous
#3085B6 #3042B6 #6130B6
triadic
#3042B6 #B63042 #42B630
tetradic
#3042B6 #B63085 #B6A430 #30B661
square
#3042B6 #B63085 #B6A430 #30B661
split-complementary
#3042B6 #B66130 #85B630
monochromatic
#161F55 #233086 #3042B6 #5263D1 #828FDE
Accessibility & contrast
On white
8.14
#3042B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#3042B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3042B6
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3042B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3042B6 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3042b6; /* rgb */ color: rgb(48, 66, 182); /* oklch */ color: oklch(44.2% 0.183 270.1);
Tailwind
colors: {
custom: {
50: '#7c76cd',
500: '#3042b6',
950: '#000000',
},
}SCSS
$custom: #3042b6; $custom-light: #7c76cd; $custom-dark: #000000;
JSON
{
"hex": "#3042b6",
"rgb": {
"r": 48,
"g": 66,
"b": 182
},
"hsl": {
"h": 231.94,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.44237,
"c": 0.18303,
"h": 270.1
},
"luminance": 0.07902
}Semantic roles & 50–950 ramp
primary
#3042B6
secondary
#C7BD7B
accent
#CD46E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82