#343CA4#343CA4
#343CA4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.165 H 273.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #343CA4 |
|---|---|
| RGB | rgb(52, 60, 164) |
| HSL | hsl(236, 52%, 42%) |
| HSV | hsv(236, 68%, 64%) |
| CMYK | cmyk(68.3%, 63.4%, 0%, 35.7%) |
| CIE-LAB | lab(30.98, 31.42, -57.15) |
| CIE-LCH | lch(30.98, 65.22, 298.80°) |
| OKLab | oklab(41.76% 0.0099 -0.1649) |
| OKLCH | oklch(41.76% 0.165 273.4) |
| XYZ | xyz(9.7306, 6.6412, 35.8838) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.15
Blueberry
#464196
ΔE00 3.82
Ocean Blue
#4F42B5
ΔE00 4.75
Blue Blue
#2242C7
ΔE00 5.03
Darkslateblue
#483D8B
ΔE00 5.52
Cobalt
#0047AB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343CA4 #A49C34
analogous
#3474A4 #343CA4 #6434A4
triadic
#343CA4 #A4343C #3CA434
tetradic
#343CA4 #A43474 #A49C34 #34A464
square
#343CA4 #A43474 #A49C34 #34A464
split-complementary
#343CA4 #A46434 #74A434
monochromatic
#171A47 #252B76 #343CA4 #4E57C7 #7D83D6
Accessibility & contrast
On white
9.02
#343CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#343CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343CA4
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343CA4 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #343ca4; /* rgb */ color: rgb(52, 60, 164); /* oklch */ color: oklch(41.8% 0.165 273.4);
Tailwind
colors: {
custom: {
50: '#7a72c0',
500: '#343ca4',
950: '#000000',
},
}SCSS
$custom: #343ca4; $custom-light: #7a72c0; $custom-dark: #000000;
JSON
{
"hex": "#343ca4",
"rgb": {
"r": 52,
"g": 60,
"b": 164
},
"hsl": {
"h": 235.714,
"s": 51.852,
"l": 42.353
},
"oklch": {
"l": 0.41761,
"c": 0.16517,
"h": 273.4
},
"luminance": 0.06642
}Semantic roles & 50–950 ramp
primary
#343CA4
secondary
#BFB975
accent
#D14CDB
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0812
muted
#7C7B81