#343A9C#343A9C
#343A9C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.157 H 274.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #343A9C |
|---|---|
| RGB | rgb(52, 58, 156) |
| HSL | hsl(237, 50%, 41%) |
| HSV | hsv(237, 67%, 61%) |
| CMYK | cmyk(66.7%, 62.8%, 0%, 38.8%) |
| CIE-LAB | lab(29.80, 29.87, -54.23) |
| CIE-LCH | lch(29.80, 61.91, 298.84°) |
| OKLab | oklab(40.69% 0.0119 -0.1563) |
| OKLCH | oklch(40.69% 0.157 274.4) |
| XYZ | xyz(8.9280, 6.1557, 32.1637) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.75
Blueberry
#464196
ΔE00 3.47
Darkslateblue
#483D8B
ΔE00 4.75
Ocean Blue
#4F42B5
ΔE00 5.58
Blue Blue
#2242C7
ΔE00 6.26
Cobalt
#0047AB
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343A9C #9C9634
analogous
#346E9C #343A9C #62349C
triadic
#343A9C #9C343A #3A9C34
tetradic
#343A9C #9C346E #9C9634 #349C62
square
#343A9C #9C346E #9C9634 #349C62
split-complementary
#343A9C #9C6234 #6E9C34
monochromatic
#151840 #25296E #343A9C #4A51C3 #787DD2
Accessibility & contrast
On white
9.41
#343A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#343A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343A9C
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343A9C | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #343a9c; /* rgb */ color: rgb(52, 58, 156); /* oklch */ color: oklch(40.7% 0.157 274.4);
Tailwind
colors: {
custom: {
50: '#7870ba',
500: '#343a9c',
950: '#000000',
},
}SCSS
$custom: #343a9c; $custom-light: #7870ba; $custom-dark: #000000;
JSON
{
"hex": "#343a9c",
"rgb": {
"r": 52,
"g": 58,
"b": 156
},
"hsl": {
"h": 236.538,
"s": 50,
"l": 40.784
},
"oklch": {
"l": 0.40687,
"c": 0.15675,
"h": 274.4
},
"luminance": 0.06156
}Semantic roles & 50–950 ramp
primary
#343A9C
secondary
#BBB671
accent
#D14EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81