#342E6A#342E6A
#342E6A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.101 H 284.2°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #342E6A |
|---|---|
| RGB | rgb(52, 46, 106) |
| HSL | hsl(246, 39%, 30%) |
| HSV | hsv(246, 57%, 42%) |
| CMYK | cmyk(50.9%, 56.6%, 0%, 58.4%) |
| CIE-LAB | lab(22.74, 20.29, -34.37) |
| CIE-LCH | lch(22.74, 39.91, 300.56°) |
| OKLab | oklab(34.22% 0.0249 -0.098) |
| OKLCH | oklch(34.22% 0.101 284.2) |
| XYZ | xyz(4.9939, 3.7244, 14.0886) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.74
Midnight Blue
#191970
ΔE00 7.32
Navy Blue
#1B2A4A
ΔE00 8.29
Marine
#042E60
ΔE00 8.47
Blueberry
#464196
ΔE00 8.57
Dark Indigo
#1F0954
ΔE00 9.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#342E6A #646A2E
analogous
#2E466A #342E6A #522E6A
triadic
#342E6A #6A342E #2E6A34
tetradic
#342E6A #6A2E46 #646A2E #2E6A52
square
#342E6A #6A2E46 #646A2E #2E6A52
split-complementary
#342E6A #6A522E #466A2E
monochromatic
#0A0915 #1F1B3F #342E6A #494195 #645BB8
Accessibility & contrast
On white
12.03
#342E6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#342E6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #342E6A
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##342E6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##342E6A | 1.00 | 12.03 | 1.75 | 12.03 |
| #FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E386C
Deuteranopia (green-blind)
#0B3469
Tritanopia (blue-blind)
#213B47
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #342e6a; /* rgb */ color: rgb(52, 46, 106); /* oklch */ color: oklch(34.2% 0.101 284.2);
Tailwind
colors: {
custom: {
50: '#706795',
500: '#342e6a',
950: '#000000',
},
}SCSS
$custom: #342e6a; $custom-light: #706795; $custom-dark: #000000;
JSON
{
"hex": "#342e6a",
"rgb": {
"r": 52,
"g": 46,
"b": 106
},
"hsl": {
"h": 246,
"s": 39.474,
"l": 29.804
},
"oklch": {
"l": 0.34217,
"c": 0.10109,
"h": 284.2
},
"luminance": 0.03725
}Semantic roles & 50–950 ramp
primary
#342E6A
secondary
#959C58
accent
#CF58C3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060D
muted
#7B7A7E