#3042B1#3042B1
#3042B1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.176 H 270.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3042B1 |
|---|---|
| RGB | rgb(48, 66, 177) |
| HSL | hsl(232, 57%, 44%) |
| HSV | hsv(232, 73%, 69%) |
| CMYK | cmyk(72.9%, 62.7%, 0%, 30.6%) |
| CIE-LAB | lab(33.35, 31.70, -61.07) |
| CIE-LCH | lch(33.35, 68.81, 297.43°) |
| OKLab | oklab(43.79% 0.0006 -0.1764) |
| OKLCH | oklch(43.79% 0.176 270.2) |
| XYZ | xyz(11.1002, 7.6980, 42.4873) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.89
Sapphire (survey)
#2138AB
ΔE00 3.05
Ocean Blue
#4F42B5
ΔE00 4.48
Cobalt
#0047AB
ΔE00 4.66
Blueberry
#464196
ΔE00 5.25
Blue (survey)
#0343DF
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3042B1 #B19F30
analogous
#3083B1 #3042B1 #5F30B1
triadic
#3042B1 #B13042 #42B130
tetradic
#3042B1 #B13083 #B19F30 #30B15F
square
#3042B1 #B13083 #B19F30 #30B15F
split-complementary
#3042B1 #B15F30 #83B130
monochromatic
#161E51 #233081 #3042B1 #4F61CF #7F8CDC
Accessibility & contrast
On white
8.27
#3042B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#3042B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3042B1
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3042B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3042B1 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3042b1; /* rgb */ color: rgb(48, 66, 177); /* oklch */ color: oklch(43.8% 0.176 270.2);
Tailwind
colors: {
custom: {
50: '#7b76c9',
500: '#3042b1',
950: '#000000',
},
}SCSS
$custom: #3042b1; $custom-light: #7b76c9; $custom-dark: #000000;
JSON
{
"hex": "#3042b1",
"rgb": {
"r": 48,
"g": 66,
"b": 177
},
"hsl": {
"h": 231.628,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.43788,
"c": 0.1764,
"h": 270.2
},
"luminance": 0.07699
}Semantic roles & 50–950 ramp
primary
#3042B1
secondary
#C5BA78
accent
#CB47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82