#343C8E#343C8E
#343C8E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.134 H 274.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #343C8E |
|---|---|
| RGB | rgb(52, 60, 142) |
| HSL | hsl(235, 46%, 38%) |
| HSV | hsv(235, 63%, 56%) |
| CMYK | cmyk(63.4%, 57.7%, 0%, 44.3%) |
| CIE-LAB | lab(29.19, 23.52, -46.65) |
| CIE-LCH | lch(29.19, 52.24, 296.76°) |
| OKLab | oklab(39.89% 0.0102 -0.134) |
| OKLCH | oklch(39.89% 0.134 274.4) |
| XYZ | xyz(7.9129, 5.9141, 26.3105) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.27
Darkslateblue
#483D8B
ΔE00 3.94
Sapphire (survey)
#2138AB
ΔE00 4.85
Cobalt (survey)
#1E488F
ΔE00 6.43
Cobalt
#0047AB
ΔE00 6.97
Ocean Blue
#4F42B5
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343C8E #8E8634
analogous
#34698E #343C8E #59348E
triadic
#343C8E #8E343C #3C8E34
tetradic
#343C8E #8E3469 #8E8634 #348E59
square
#343C8E #8E3469 #8E8634 #348E59
split-complementary
#343C8E #8E5934 #698E34
monochromatic
#131634 #242961 #343C8E #444FBB #7179CB
Accessibility & contrast
On white
9.62
#343C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#343C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343C8E
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343C8E | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #343c8e; /* rgb */ color: rgb(52, 60, 142); /* oklch */ color: oklch(39.9% 0.134 274.4);
Tailwind
colors: {
custom: {
50: '#7571b0',
500: '#343c8e',
950: '#000000',
},
}SCSS
$custom: #343c8e; $custom-light: #7571b0; $custom-dark: #000000;
JSON
{
"hex": "#343c8e",
"rgb": {
"r": 52,
"g": 60,
"b": 142
},
"hsl": {
"h": 234.667,
"s": 46.392,
"l": 38.039
},
"oklch": {
"l": 0.39885,
"c": 0.13439,
"h": 274.4
},
"luminance": 0.05915
}Semantic roles & 50–950 ramp
primary
#343C8E
secondary
#B3AD6A
accent
#CA52D6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F