#343C71#343C71
#343C71 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.091 H 274.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #343C71 |
|---|---|
| RGB | rgb(52, 60, 113) |
| HSL | hsl(232, 37%, 32%) |
| HSV | hsv(232, 54%, 44%) |
| CMYK | cmyk(54%, 46.9%, 0%, 55.7%) |
| CIE-LAB | lab(27.17, 13.15, -31.76) |
| CIE-LCH | lch(27.17, 34.38, 292.48°) |
| OKLab | oklab(37.71% 0.0075 -0.0902) |
| OKLCH | oklch(37.71% 0.091 274.8) |
| XYZ | xyz(6.0117, 5.1537, 16.2976) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.21
Blueberry
#464196
ΔE00 7.05
Marine
#042E60
ΔE00 7.23
Marine Blue
#01386A
ΔE00 7.51
Twilight
#4E518B
ΔE00 7.57
Cobalt (survey)
#1E488F
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343C71 #716934
analogous
#345B71 #343C71 #4A3471
triadic
#343C71 #71343C #3C7134
tetradic
#343C71 #71345B #716934 #34714A
square
#343C71 #71345B #716934 #34714A
split-complementary
#343C71 #714A34 #5B7134
monochromatic
#0D0F1D #212647 #343C71 #47529B #6771B9
Accessibility & contrast
On white
10.34
#343C71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#343C71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343C71
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343C71 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#1F3E70
Tritanopia (blue-blind)
#1A4751
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #343c71; /* rgb */ color: rgb(52, 60, 113); /* oklch */ color: oklch(37.7% 0.091 274.8);
Tailwind
colors: {
custom: {
50: '#70719a',
500: '#343c71',
950: '#000000',
},
}SCSS
$custom: #343c71; $custom-light: #70719a; $custom-dark: #000000;
JSON
{
"hex": "#343c71",
"rgb": {
"r": 52,
"g": 60,
"b": 113
},
"hsl": {
"h": 232.131,
"s": 36.97,
"l": 32.353
},
"oklch": {
"l": 0.37709,
"c": 0.09055,
"h": 274.8
},
"luminance": 0.05154
}Semantic roles & 50–950 ramp
primary
#343C71
secondary
#A19960
accent
#BE5BCD
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E