#343C8D#343C8D
#343C8D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.133 H 274.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #343C8D |
|---|---|
| RGB | rgb(52, 60, 141) |
| HSL | hsl(235, 46%, 38%) |
| HSV | hsv(235, 63%, 55%) |
| CMYK | cmyk(63.1%, 57.4%, 0%, 44.7%) |
| CIE-LAB | lab(29.12, 23.16, -46.16) |
| CIE-LCH | lch(29.12, 51.64, 296.65°) |
| OKLab | oklab(39.8% 0.0102 -0.1325) |
| OKLCH | oklch(39.8% 0.133 274.4) |
| XYZ | xyz(7.8382, 5.8842, 25.9169) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.33
Darkslateblue
#483D8B
ΔE00 3.92
Sapphire (survey)
#2138AB
ΔE00 5.01
Cobalt (survey)
#1E488F
ΔE00 6.42
Cobalt
#0047AB
ΔE00 7.05
Ocean Blue
#4F42B5
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343C8D #8D8534
analogous
#34688D #343C8D #59348D
triadic
#343C8D #8D343C #3C8D34
tetradic
#343C8D #8D3468 #8D8534 #348D59
square
#343C8D #8D3468 #8D8534 #348D59
split-complementary
#343C8D #8D5934 #688D34
monochromatic
#131634 #242960 #343C8D #444FBA #7179CB
Accessibility & contrast
On white
9.65
#343C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#343C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343C8D
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343C8D | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #343c8d; /* rgb */ color: rgb(52, 60, 141); /* oklch */ color: oklch(39.8% 0.133 274.4);
Tailwind
colors: {
custom: {
50: '#7571af',
500: '#343c8d',
950: '#000000',
},
}SCSS
$custom: #343c8d; $custom-light: #7571af; $custom-dark: #000000;
JSON
{
"hex": "#343c8d",
"rgb": {
"r": 52,
"g": 60,
"b": 141
},
"hsl": {
"h": 234.607,
"s": 46.114,
"l": 37.843
},
"oklch": {
"l": 0.39804,
"c": 0.13294,
"h": 274.4
},
"luminance": 0.05885
}Semantic roles & 50–950 ramp
primary
#343C8D
secondary
#B3AC6A
accent
#CA52D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F