#343EAB#343EAB
#343EAB is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.172 H 272.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #343EAB |
|---|---|
| RGB | rgb(52, 62, 171) |
| HSL | hsl(235, 53%, 44%) |
| HSV | hsv(235, 70%, 67%) |
| CMYK | cmyk(69.6%, 63.7%, 0%, 32.9%) |
| CIE-LAB | lab(32.07, 32.63, -59.58) |
| CIE-LCH | lch(32.07, 67.93, 298.71°) |
| OKLab | oklab(42.75% 0.008 -0.172) |
| OKLCH | oklch(42.75% 0.172 272.7) |
| XYZ | xyz(10.4870, 7.1146, 39.3408) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.23
Blue Blue
#2242C7
ΔE00 3.96
Ocean Blue
#4F42B5
ΔE00 4.17
Blueberry
#464196
ΔE00 4.36
Cobalt
#0047AB
ΔE00 5.75
Blue With A Hint Of Purple
#533CC6
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343EAB #ABA134
analogous
#3479AB #343EAB #6534AB
triadic
#343EAB #AB343E #3EAB34
tetradic
#343EAB #AB3479 #ABA134 #34AB65
square
#343EAB #AB3479 #ABA134 #34AB65
split-complementary
#343EAB #AB6534 #79AB34
monochromatic
#171C4D #262D7C #343EAB #525CCA #8188D9
Accessibility & contrast
On white
8.67
#343EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#343EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343EAB
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343EAB | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #343eab; /* rgb */ color: rgb(52, 62, 171); /* oklch */ color: oklch(42.7% 0.172 272.7);
Tailwind
colors: {
custom: {
50: '#7b73c5',
500: '#343eab',
950: '#000000',
},
}SCSS
$custom: #343eab; $custom-light: #7b73c5; $custom-dark: #000000;
JSON
{
"hex": "#343eab",
"rgb": {
"r": 52,
"g": 62,
"b": 171
},
"hsl": {
"h": 234.958,
"s": 53.363,
"l": 43.725
},
"oklch": {
"l": 0.42747,
"c": 0.17215,
"h": 272.7
},
"luminance": 0.07116
}Semantic roles & 50–950 ramp
primary
#343EAB
secondary
#C2BC79
accent
#D14BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82