#3042AD#3042AD
#3042AD is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.171 H 270.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #3042AD |
|---|---|
| RGB | rgb(48, 66, 173) |
| HSL | hsl(231, 57%, 43%) |
| HSV | hsv(231, 72%, 68%) |
| CMYK | cmyk(72.3%, 61.8%, 0%, 32.2%) |
| CIE-LAB | lab(33.01, 30.24, -59.24) |
| CIE-LCH | lch(33.01, 66.51, 297.04°) |
| OKLab | oklab(43.43% 0.0007 -0.171) |
| OKLCH | oklch(43.43% 0.171 270.2) |
| XYZ | xyz(10.7074, 7.5408, 40.4183) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.98
Blue Blue
#2242C7
ΔE00 3.43
Cobalt
#0047AB
ΔE00 4.46
Ocean Blue
#4F42B5
ΔE00 4.73
Blueberry
#464196
ΔE00 4.90
Blue (survey)
#0343DF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3042AD #AD9B30
analogous
#3080AD #3042AD #5C30AD
triadic
#3042AD #AD3042 #42AD30
tetradic
#3042AD #AD3080 #AD9B30 #30AD5C
square
#3042AD #AD3080 #AD9B30 #30AD5C
split-complementary
#3042AD #AD5C30 #80AD30
monochromatic
#151D4D #23307D #3042AD #4D5FCE #7D8ADB
Accessibility & contrast
On white
8.37
#3042AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#3042AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3042AD
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3042AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3042AD | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3042ad; /* rgb */ color: rgb(48, 66, 173); /* oklch */ color: oklch(43.4% 0.171 270.2);
Tailwind
colors: {
custom: {
50: '#7a76c6',
500: '#3042ad',
950: '#000000',
},
}SCSS
$custom: #3042ad; $custom-light: #7a76c6; $custom-dark: #000000;
JSON
{
"hex": "#3042ad",
"rgb": {
"r": 48,
"g": 66,
"b": 173
},
"hsl": {
"h": 231.36,
"s": 56.561,
"l": 43.333
},
"oklch": {
"l": 0.43433,
"c": 0.17104,
"h": 270.2
},
"luminance": 0.07542
}Semantic roles & 50–950 ramp
primary
#3042AD
secondary
#C3B875
accent
#CA48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82