#343CA5#343CA5
#343CA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.167 H 273.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #343CA5 |
|---|---|
| RGB | rgb(52, 60, 165) |
| HSL | hsl(236, 52%, 43%) |
| HSV | hsv(236, 68%, 65%) |
| CMYK | cmyk(68.5%, 63.6%, 0%, 35.3%) |
| CIE-LAB | lab(31.06, 31.78, -57.62) |
| CIE-LCH | lch(31.06, 65.80, 298.88°) |
| OKLab | oklab(41.85% 0.0098 -0.1662) |
| OKLCH | oklch(41.85% 0.167 273.4) |
| XYZ | xyz(9.8213, 6.6775, 36.3613) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.09
Blueberry
#464196
ΔE00 3.91
Ocean Blue
#4F42B5
ΔE00 4.66
Blue Blue
#2242C7
ΔE00 4.90
Darkslateblue
#483D8B
ΔE00 5.63
Cobalt
#0047AB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343CA5 #A59D34
analogous
#3475A5 #343CA5 #6434A5
triadic
#343CA5 #A5343C #3CA534
tetradic
#343CA5 #A53475 #A59D34 #34A564
square
#343CA5 #A53475 #A59D34 #34A564
split-complementary
#343CA5 #A56434 #75A534
monochromatic
#171A48 #252B76 #343CA5 #4F57C7 #7D84D6
Accessibility & contrast
On white
8.99
#343CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#343CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343CA5
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343CA5 | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #343ca5; /* rgb */ color: rgb(52, 60, 165); /* oklch */ color: oklch(41.9% 0.167 273.4);
Tailwind
colors: {
custom: {
50: '#7a72c1',
500: '#343ca5',
950: '#000000',
},
}SCSS
$custom: #343ca5; $custom-light: #7a72c1; $custom-dark: #000000;
JSON
{
"hex": "#343ca5",
"rgb": {
"r": 52,
"g": 60,
"b": 165
},
"hsl": {
"h": 235.752,
"s": 52.074,
"l": 42.549
},
"oklch": {
"l": 0.4185,
"c": 0.16652,
"h": 273.4
},
"luminance": 0.06678
}Semantic roles & 50–950 ramp
primary
#343CA5
secondary
#BFBA76
accent
#D14CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81