#343AB6#343AB6
#343AB6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.191 H 272.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #343AB6 |
|---|---|
| RGB | rgb(52, 58, 182) |
| HSL | hsl(237, 56%, 46%) |
| HSV | hsv(237, 71%, 71%) |
| CMYK | cmyk(71.4%, 68.1%, 0%, 28.6%) |
| CIE-LAB | lab(32.11, 39.01, -66.06) |
| CIE-LCH | lch(32.11, 76.72, 300.56°) |
| OKLab | oklab(43.08% 0.0098 -0.191) |
| OKLCH | oklch(43.08% 0.191 272.9) |
| XYZ | xyz(11.3699, 7.1325, 45.0244) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.59
Blue Blue
#2242C7
ΔE00 3.47
Ocean Blue
#4F42B5
ΔE00 3.89
Blue With A Hint Of Purple
#533CC6
ΔE00 4.72
Blurple
#5539CC
ΔE00 5.41
Blueberry
#464196
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343AB6 #B6B034
analogous
#347BB6 #343AB6 #6F34B6
triadic
#343AB6 #B6343A #3AB634
tetradic
#343AB6 #B6347B #B6B034 #34B66F
square
#343AB6 #B6347B #B6B034 #34B66F
split-complementary
#343AB6 #B66F34 #7BB634
monochromatic
#191C57 #262B86 #343AB6 #585DCF #888BDD
Accessibility & contrast
On white
8.65
#343AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#343AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343AB6
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343AB6 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #343ab6; /* rgb */ color: rgb(52, 58, 182); /* oklch */ color: oklch(43.1% 0.191 272.9);
Tailwind
colors: {
custom: {
50: '#7e71cd',
500: '#343ab6',
950: '#000000',
},
}SCSS
$custom: #343ab6; $custom-light: #7e71cd; $custom-dark: #000000;
JSON
{
"hex": "#343ab6",
"rgb": {
"r": 52,
"g": 58,
"b": 182
},
"hsl": {
"h": 237.231,
"s": 55.556,
"l": 45.882
},
"oklch": {
"l": 0.43078,
"c": 0.19121,
"h": 272.9
},
"luminance": 0.07134
}Semantic roles & 50–950 ramp
primary
#343AB6
secondary
#C7C37F
accent
#D849DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82