#342BAA#342BAA
#342BAA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.192 H 276.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #342BAA |
|---|---|
| RGB | rgb(52, 43, 170) |
| HSL | hsl(244, 60%, 42%) |
| HSV | hsv(244, 75%, 67%) |
| CMYK | cmyk(69.4%, 74.7%, 0%, 33.3%) |
| CIE-LAB | lab(27.73, 43.80, -66.09) |
| CIE-LCH | lch(27.73, 79.29, 303.54°) |
| OKLab | oklab(39.59% 0.0207 -0.191) |
| OKLCH | oklch(39.59% 0.192 276.2) |
| XYZ | xyz(9.5334, 5.3592, 38.5544) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.73
Sapphire (survey)
#2138AB
ΔE00 4.37
True Blue
#010FCC
ΔE00 5.78
Royal
#0C1793
ΔE00 6.12
Ultramarine
#2000B1
ΔE00 6.28
Cobalt Blue
#030AA7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#342BAA #A1AA2B
analogous
#2B62AA #342BAA #742BAA
triadic
#342BAA #AA342B #2BAA34
tetradic
#342BAA #AA2B62 #A1AA2B #2BAA74
square
#342BAA #AA2B62 #A1AA2B #2BAA74
split-complementary
#342BAA #AA742B #62AA2B
monochromatic
#161248 #251F79 #342BAA #4D43CF #7B74DC
Accessibility & contrast
On white
10.14
#342BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#342BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #342BAA
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##342BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##342BAA | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #342baa; /* rgb */ color: rgb(52, 43, 170); /* oklch */ color: oklch(39.6% 0.192 276.2);
Tailwind
colors: {
custom: {
50: '#7d66c5',
500: '#342baa',
950: '#000000',
},
}SCSS
$custom: #342baa; $custom-light: #7d66c5; $custom-dark: #000000;
JSON
{
"hex": "#342baa",
"rgb": {
"r": 52,
"g": 43,
"b": 170
},
"hsl": {
"h": 244.252,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.39592,
"c": 0.19213,
"h": 276.2
},
"luminance": 0.0536
}Semantic roles & 50–950 ramp
primary
#342BAA
secondary
#BDC36E
accent
#E345D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82