#343699#343699
#343699 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.158 H 275.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #343699 |
|---|---|
| RGB | rgb(52, 54, 153) |
| HSL | hsl(239, 49%, 40%) |
| HSV | hsv(239, 66%, 60%) |
| CMYK | cmyk(66%, 64.7%, 0%, 40%) |
| CIE-LAB | lab(28.56, 31.39, -54.43) |
| CIE-LCH | lch(28.56, 62.83, 299.97°) |
| OKLab | oklab(39.7% 0.0155 -0.1569) |
| OKLCH | oklch(39.7% 0.158 275.6) |
| XYZ | xyz(8.4832, 5.6676, 30.7777) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.18
Blueberry
#464196
ΔE00 4.00
Darkslateblue
#483D8B
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 6.14
Blue Blue
#2242C7
ΔE00 7.11
Indigo Blue
#3A18B1
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343699 #999734
analogous
#346899 #343699 #653499
triadic
#343699 #993436 #369934
tetradic
#343699 #993468 #999734 #349965
square
#343699 #993468 #999734 #349965
split-complementary
#343699 #996534 #689934
monochromatic
#15163E #24266B #343699 #494BC1 #7778D1
Accessibility & contrast
On white
9.84
#343699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#343699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343699
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343699 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #343699; /* rgb */ color: rgb(52, 54, 153); /* oklch */ color: oklch(39.7% 0.158 275.6);
Tailwind
colors: {
custom: {
50: '#786db8',
500: '#343699',
950: '#000000',
},
}SCSS
$custom: #343699; $custom-light: #786db8; $custom-dark: #000000;
JSON
{
"hex": "#343699",
"rgb": {
"r": 52,
"g": 54,
"b": 153
},
"hsl": {
"h": 238.812,
"s": 49.268,
"l": 40.196
},
"oklch": {
"l": 0.39695,
"c": 0.15769,
"h": 275.6
},
"luminance": 0.05668
}Semantic roles & 50–950 ramp
primary
#343699
secondary
#B9B870
accent
#D64FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80