#343C8F#343C8F
#343C8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.136 H 274.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #343C8F |
|---|---|
| RGB | rgb(52, 60, 143) |
| HSL | hsl(235, 47%, 38%) |
| HSV | hsv(235, 64%, 56%) |
| CMYK | cmyk(63.6%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(29.27, 23.88, -47.14) |
| CIE-LCH | lch(29.27, 52.84, 296.87°) |
| OKLab | oklab(39.97% 0.0103 -0.1354) |
| OKLCH | oklch(39.97% 0.136 274.3) |
| XYZ | xyz(7.9883, 5.9443, 26.7077) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.22
Darkslateblue
#483D8B
ΔE00 3.97
Sapphire (survey)
#2138AB
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 6.45
Cobalt
#0047AB
ΔE00 6.89
Ocean Blue
#4F42B5
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343C8F #8F8734
analogous
#34698F #343C8F #59348F
triadic
#343C8F #8F343C #3C8F34
tetradic
#343C8F #8F3469 #8F8734 #348F59
square
#343C8F #8F3469 #8F8734 #348F59
split-complementary
#343C8F #8F5934 #698F34
monochromatic
#131635 #242962 #343C8F #454FBB #727ACC
Accessibility & contrast
On white
9.59
#343C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#343C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343C8F
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343C8F | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #343c8f; /* rgb */ color: rgb(52, 60, 143); /* oklch */ color: oklch(40.0% 0.136 274.3);
Tailwind
colors: {
custom: {
50: '#7671b0',
500: '#343c8f',
950: '#000000',
},
}SCSS
$custom: #343c8f; $custom-light: #7671b0; $custom-dark: #000000;
JSON
{
"hex": "#343c8f",
"rgb": {
"r": 52,
"g": 60,
"b": 143
},
"hsl": {
"h": 234.725,
"s": 46.667,
"l": 38.235
},
"oklch": {
"l": 0.39966,
"c": 0.13584,
"h": 274.3
},
"luminance": 0.05945
}Semantic roles & 50–950 ramp
primary
#343C8F
secondary
#B4AD6B
accent
#CB51D6
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090711
muted
#7B7A80