#3042AE#3042AE
#3042AE is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.172 H 270.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3042AE |
|---|---|
| RGB | rgb(48, 66, 174) |
| HSL | hsl(231, 57%, 44%) |
| HSV | hsv(231, 72%, 68%) |
| CMYK | cmyk(72.4%, 62.1%, 0%, 31.8%) |
| CIE-LAB | lab(33.09, 30.61, -59.70) |
| CIE-LCH | lch(33.09, 67.09, 297.14°) |
| OKLab | oklab(43.52% 0.0007 -0.1724) |
| OKLCH | oklch(43.52% 0.172 270.2) |
| XYZ | xyz(10.8045, 7.5797, 40.9298) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.99
Blue Blue
#2242C7
ΔE00 3.29
Cobalt
#0047AB
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 4.66
Blueberry
#464196
ΔE00 4.98
Blue (survey)
#0343DF
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3042AE #AE9C30
analogous
#3081AE #3042AE #5D30AE
triadic
#3042AE #AE3042 #42AE30
tetradic
#3042AE #AE3081 #AE9C30 #30AE5D
square
#3042AE #AE3081 #AE9C30 #30AE5D
split-complementary
#3042AE #AE5D30 #81AE30
monochromatic
#161E4E #23307E #3042AE #4D60CE #7D8BDB
Accessibility & contrast
On white
8.35
#3042AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#3042AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3042AE
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3042AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3042AE | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3042ae; /* rgb */ color: rgb(48, 66, 174); /* oklch */ color: oklch(43.5% 0.172 270.2);
Tailwind
colors: {
custom: {
50: '#7a76c7',
500: '#3042ae',
950: '#000000',
},
}SCSS
$custom: #3042ae; $custom-light: #7a76c7; $custom-dark: #000000;
JSON
{
"hex": "#3042ae",
"rgb": {
"r": 48,
"g": 66,
"b": 174
},
"hsl": {
"h": 231.429,
"s": 56.757,
"l": 43.529
},
"oklch": {
"l": 0.43521,
"c": 0.17238,
"h": 270.2
},
"luminance": 0.07581
}Semantic roles & 50–950 ramp
primary
#3042AE
secondary
#C4B976
accent
#CA48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82