#3042B3#3042B3
#3042B3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.179 H 270.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3042B3 |
|---|---|
| RGB | rgb(48, 66, 179) |
| HSL | hsl(232, 58%, 45%) |
| HSV | hsv(232, 73%, 70%) |
| CMYK | cmyk(73.2%, 63.1%, 0%, 29.8%) |
| CIE-LAB | lab(33.52, 32.43, -61.98) |
| CIE-LCH | lch(33.52, 69.95, 297.62°) |
| OKLab | oklab(43.97% 0.0005 -0.1791) |
| OKLCH | oklch(43.97% 0.179 270.2) |
| XYZ | xyz(11.3010, 7.7783, 43.5449) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.62
Sapphire (survey)
#2138AB
ΔE00 3.13
Ocean Blue
#4F42B5
ΔE00 4.38
Cobalt
#0047AB
ΔE00 4.79
Blueberry
#464196
ΔE00 5.43
Blue (survey)
#0343DF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3042B3 #B3A130
analogous
#3083B3 #3042B3 #6030B3
triadic
#3042B3 #B33042 #42B330
tetradic
#3042B3 #B33083 #B3A130 #30B360
square
#3042B3 #B33083 #B3A130 #30B360
split-complementary
#3042B3 #B36030 #83B330
monochromatic
#161E52 #233083 #3042B3 #5062D0 #808DDD
Accessibility & contrast
On white
8.22
#3042B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#3042B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3042B3
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3042B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3042B3 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3042b3; /* rgb */ color: rgb(48, 66, 179); /* oklch */ color: oklch(44.0% 0.179 270.2);
Tailwind
colors: {
custom: {
50: '#7b76cb',
500: '#3042b3',
950: '#000000',
},
}SCSS
$custom: #3042b3; $custom-light: #7b76cb; $custom-dark: #000000;
JSON
{
"hex": "#3042b3",
"rgb": {
"r": 48,
"g": 66,
"b": 179
},
"hsl": {
"h": 231.756,
"s": 57.709,
"l": 44.51
},
"oklch": {
"l": 0.43967,
"c": 0.17906,
"h": 270.2
},
"luminance": 0.07779
}Semantic roles & 50–950 ramp
primary
#3042B3
secondary
#C6BB79
accent
#CC47E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82