#343CA7#343CA7
#343CA7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.169 H 273.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #343CA7 |
|---|---|
| RGB | rgb(52, 60, 167) |
| HSL | hsl(236, 53%, 43%) |
| HSV | hsv(236, 69%, 65%) |
| CMYK | cmyk(68.9%, 64.1%, 0%, 34.5%) |
| CIE-LAB | lab(31.23, 32.49, -58.54) |
| CIE-LCH | lch(31.23, 66.95, 299.03°) |
| OKLab | oklab(42.03% 0.0097 -0.1689) |
| OKLCH | oklch(42.03% 0.169 273.3) |
| XYZ | xyz(10.0048, 6.7509, 37.3275) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.00
Blueberry
#464196
ΔE00 4.09
Ocean Blue
#4F42B5
ΔE00 4.49
Blue Blue
#2242C7
ΔE00 4.65
Darkslateblue
#483D8B
ΔE00 5.83
Cobalt
#0047AB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343CA7 #A79F34
analogous
#3475A7 #343CA7 #6534A7
triadic
#343CA7 #A7343C #3CA734
tetradic
#343CA7 #A73475 #A79F34 #34A765
square
#343CA7 #A73475 #A79F34 #34A765
split-complementary
#343CA7 #A76534 #75A734
monochromatic
#171A4A #252B78 #343CA7 #5058C8 #7E85D7
Accessibility & contrast
On white
8.93
#343CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#343CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343CA7
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343CA7 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #343ca7; /* rgb */ color: rgb(52, 60, 167); /* oklch */ color: oklch(42.0% 0.169 273.3);
Tailwind
colors: {
custom: {
50: '#7b72c2',
500: '#343ca7',
950: '#000000',
},
}SCSS
$custom: #343ca7; $custom-light: #7b72c2; $custom-dark: #000000;
JSON
{
"hex": "#343ca7",
"rgb": {
"r": 52,
"g": 60,
"b": 167
},
"hsl": {
"h": 235.826,
"s": 52.511,
"l": 42.941
},
"oklch": {
"l": 0.42029,
"c": 0.16921,
"h": 273.3
},
"luminance": 0.06752
}Semantic roles & 50–950 ramp
primary
#343CA7
secondary
#C0BB77
accent
#D24CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81