#342B69#342B69
#342B69 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.104 H 286.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #342B69 |
|---|---|
| RGB | rgb(52, 43, 105) |
| HSL | hsl(249, 42%, 29%) |
| HSV | hsv(249, 59%, 41%) |
| CMYK | cmyk(50.5%, 59%, 0%, 58.8%) |
| CIE-LAB | lab(21.86, 21.99, -35.13) |
| CIE-LCH | lch(21.86, 41.44, 302.04°) |
| OKLab | oklab(33.54% 0.0287 -0.1003) |
| OKLCH | oklch(33.54% 0.104 286) |
| XYZ | xyz(4.8291, 3.4775, 13.7786) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.66
Darkslateblue
#483D8B
ΔE00 7.18
Navy Blue
#1B2A4A
ΔE00 8.69
Dark Indigo
#1F0954
ΔE00 8.90
Marine
#042E60
ΔE00 9.03
Blueberry
#464196
ΔE00 9.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#342B69 #60692B
analogous
#2B4169 #342B69 #532B69
triadic
#342B69 #69342B #2B6934
tetradic
#342B69 #692B41 #60692B #2B6953
square
#342B69 #692B41 #60692B #2B6953
split-complementary
#342B69 #69532B #41692B
monochromatic
#0B0916 #1E193E #342B69 #4A3D94 #6455B9
Accessibility & contrast
On white
12.38
#342B69 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#342B69 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #342B69
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##342B69 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##342B69 | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#06366B
Deuteranopia (green-blind)
#043368
Tritanopia (blue-blind)
#223945
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #342b69; /* rgb */ color: rgb(52, 43, 105); /* oklch */ color: oklch(33.5% 0.104 286.0);
Tailwind
colors: {
custom: {
50: '#706494',
500: '#342b69',
950: '#000000',
},
}SCSS
$custom: #342b69; $custom-light: #706494; $custom-dark: #000000;
JSON
{
"hex": "#342b69",
"rgb": {
"r": 52,
"g": 43,
"b": 105
},
"hsl": {
"h": 248.71,
"s": 41.892,
"l": 29.02
},
"oklch": {
"l": 0.33543,
"c": 0.10427,
"h": 286
},
"luminance": 0.03478
}Semantic roles & 50–950 ramp
primary
#342B69
secondary
#919B55
accent
#D256C0
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08050D
muted
#7B7A7E