#342BAE#342BAE
#342BAE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.197 H 275.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #342BAE |
|---|---|
| RGB | rgb(52, 43, 174) |
| HSL | hsl(244, 60%, 43%) |
| HSV | hsv(244, 75%, 68%) |
| CMYK | cmyk(70.1%, 75.3%, 0%, 31.8%) |
| CIE-LAB | lab(28.15, 45.10, -67.81) |
| CIE-LCH | lch(28.15, 81.43, 303.63°) |
| OKLab | oklab(40.01% 0.0198 -0.196) |
| OKLCH | oklch(40.01% 0.197 275.8) |
| XYZ | xyz(9.9175, 5.5129, 40.5776) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.61
Sapphire (survey)
#2138AB
ΔE00 4.41
True Blue
#010FCC
ΔE00 5.45
Violet Blue
#510AC9
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.25
Mediumblue
#0000CD
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#342BAE #A5AE2B
analogous
#2B64AE #342BAE #752BAE
triadic
#342BAE #AE342B #2BAE34
tetradic
#342BAE #AE2B64 #A5AE2B #2BAE75
square
#342BAE #AE2B64 #A5AE2B #2BAE75
split-complementary
#342BAE #AE752B #64AE2B
monochromatic
#17134C #251F7D #342BAE #4F45D1 #7D76DD
Accessibility & contrast
On white
9.99
#342BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#342BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #342BAE
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##342BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##342BAE | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #342bae; /* rgb */ color: rgb(52, 43, 174); /* oklch */ color: oklch(40.0% 0.197 275.8);
Tailwind
colors: {
custom: {
50: '#7e67c7',
500: '#342bae',
950: '#000000',
},
}SCSS
$custom: #342bae; $custom-light: #7e67c7; $custom-dark: #000000;
JSON
{
"hex": "#342bae",
"rgb": {
"r": 52,
"g": 43,
"b": 174
},
"hsl": {
"h": 244.122,
"s": 60.369,
"l": 42.549
},
"oklch": {
"l": 0.40009,
"c": 0.19702,
"h": 275.8
},
"luminance": 0.05514
}Semantic roles & 50–950 ramp
primary
#342BAE
secondary
#BFC570
accent
#E444D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82