#342C69#342C69
#342C69 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.103 H 285.5°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #342C69 |
|---|---|
| RGB | rgb(52, 44, 105) |
| HSL | hsl(248, 41%, 29%) |
| HSV | hsv(248, 58%, 41%) |
| CMYK | cmyk(50.5%, 58.1%, 0%, 58.8%) |
| CIE-LAB | lab(22.13, 21.31, -34.70) |
| CIE-LCH | lch(22.13, 40.72, 301.56°) |
| OKLab | oklab(33.74% 0.0274 -0.099) |
| OKLCH | oklch(33.74% 0.103 285.5) |
| XYZ | xyz(4.8659, 3.5511, 13.7909) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.92
Darkslateblue
#483D8B
ΔE00 7.07
Navy Blue
#1B2A4A
ΔE00 8.52
Marine
#042E60
ΔE00 8.84
Blueberry
#464196
ΔE00 8.95
Dark Indigo
#1F0954
ΔE00 9.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#342C69 #61692C
analogous
#2C4369 #342C69 #532C69
triadic
#342C69 #69342C #2C6934
tetradic
#342C69 #692C43 #61692C #2C6953
square
#342C69 #692C43 #61692C #2C6953
split-complementary
#342C69 #69532C #43692C
monochromatic
#0B0916 #1F1A3E #342C69 #493E94 #6457B9
Accessibility & contrast
On white
12.28
#342C69 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#342C69 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #342C69
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##342C69 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##342C69 | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09376B
Deuteranopia (green-blind)
#073368
Tritanopia (blue-blind)
#223946
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #342c69; /* rgb */ color: rgb(52, 44, 105); /* oklch */ color: oklch(33.7% 0.103 285.5);
Tailwind
colors: {
custom: {
50: '#706594',
500: '#342c69',
950: '#000000',
},
}SCSS
$custom: #342c69; $custom-light: #706594; $custom-dark: #000000;
JSON
{
"hex": "#342c69",
"rgb": {
"r": 52,
"g": 44,
"b": 105
},
"hsl": {
"h": 247.869,
"s": 40.94,
"l": 29.216
},
"oklch": {
"l": 0.3374,
"c": 0.10271,
"h": 285.5
},
"luminance": 0.03551
}Semantic roles & 50–950 ramp
primary
#342C69
secondary
#929B56
accent
#D157C1
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08050D
muted
#7B7A7E