#343CA6#343CA6
#343CA6 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.168 H 273.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #343CA6 |
|---|---|
| RGB | rgb(52, 60, 166) |
| HSL | hsl(236, 52%, 43%) |
| HSV | hsv(236, 69%, 65%) |
| CMYK | cmyk(68.7%, 63.9%, 0%, 34.9%) |
| CIE-LAB | lab(31.15, 32.13, -58.08) |
| CIE-LCH | lch(31.15, 66.38, 298.96°) |
| OKLab | oklab(41.94% 0.0098 -0.1676) |
| OKLCH | oklch(41.94% 0.168 273.3) |
| XYZ | xyz(9.9127, 6.7140, 36.8425) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.04
Blueberry
#464196
ΔE00 4.00
Ocean Blue
#4F42B5
ΔE00 4.57
Blue Blue
#2242C7
ΔE00 4.78
Darkslateblue
#483D8B
ΔE00 5.73
Cobalt
#0047AB
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343CA6 #A69E34
analogous
#3475A6 #343CA6 #6534A6
triadic
#343CA6 #A6343C #3CA634
tetradic
#343CA6 #A63475 #A69E34 #34A665
square
#343CA6 #A63475 #A69E34 #34A665
split-complementary
#343CA6 #A66534 #75A634
monochromatic
#171A49 #252B77 #343CA6 #4F58C8 #7E84D7
Accessibility & contrast
On white
8.96
#343CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#343CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343CA6
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343CA6 | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #343ca6; /* rgb */ color: rgb(52, 60, 166); /* oklch */ color: oklch(41.9% 0.168 273.3);
Tailwind
colors: {
custom: {
50: '#7a72c1',
500: '#343ca6',
950: '#000000',
},
}SCSS
$custom: #343ca6; $custom-light: #7a72c1; $custom-dark: #000000;
JSON
{
"hex": "#343ca6",
"rgb": {
"r": 52,
"g": 60,
"b": 166
},
"hsl": {
"h": 235.789,
"s": 52.294,
"l": 42.745
},
"oklch": {
"l": 0.41939,
"c": 0.16787,
"h": 273.3
},
"luminance": 0.06715
}Semantic roles & 50–950 ramp
primary
#343CA6
secondary
#C0BA76
accent
#D24CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81