#343A8A#343A8A
#343A8A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.131 H 275.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #343A8A |
|---|---|
| RGB | rgb(52, 58, 138) |
| HSL | hsl(236, 45%, 37%) |
| HSV | hsv(236, 62%, 54%) |
| CMYK | cmyk(62.3%, 58%, 0%, 45.9%) |
| CIE-LAB | lab(28.36, 23.42, -45.54) |
| CIE-LCH | lch(28.36, 51.21, 297.21°) |
| OKLab | oklab(39.16% 0.0121 -0.1308) |
| OKLCH | oklch(39.16% 0.131 275.3) |
| XYZ | xyz(7.5152, 5.5906, 24.7229) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.60
Darkslateblue
#483D8B
ΔE00 3.75
Sapphire (survey)
#2138AB
ΔE00 5.33
Cobalt (survey)
#1E488F
ΔE00 7.00
Cobalt
#0047AB
ΔE00 7.71
Ocean Blue
#4F42B5
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343A8A #8A8434
analogous
#34658A #343A8A #59348A
triadic
#343A8A #8A343A #3A8A34
tetradic
#343A8A #8A3465 #8A8434 #348A59
square
#343A8A #8A3465 #8A8434 #348A59
split-complementary
#343A8A #8A5934 #658A34
monochromatic
#131531 #23275E #343A8A #454DB6 #6F76C9
Accessibility & contrast
On white
9.91
#343A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#343A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343A8A
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343A8A | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #343a8a; /* rgb */ color: rgb(52, 58, 138); /* oklch */ color: oklch(39.2% 0.131 275.3);
Tailwind
colors: {
custom: {
50: '#7570ad',
500: '#343a8a',
950: '#000000',
},
}SCSS
$custom: #343a8a; $custom-light: #7570ad; $custom-dark: #000000;
JSON
{
"hex": "#343a8a",
"rgb": {
"r": 52,
"g": 58,
"b": 138
},
"hsl": {
"h": 235.814,
"s": 45.263,
"l": 37.255
},
"oklch": {
"l": 0.39162,
"c": 0.13132,
"h": 275.3
},
"luminance": 0.05591
}Semantic roles & 50–950 ramp
primary
#343A8A
secondary
#B1AC69
accent
#CC53D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F