#343A9F#343A9F
#343A9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.161 H 274.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #343A9F |
|---|---|
| RGB | rgb(52, 58, 159) |
| HSL | hsl(237, 51%, 41%) |
| HSV | hsv(237, 67%, 62%) |
| CMYK | cmyk(67.3%, 63.5%, 0%, 37.6%) |
| CIE-LAB | lab(30.06, 30.93, -55.64) |
| CIE-LCH | lch(30.06, 63.66, 299.07°) |
| OKLab | oklab(40.95% 0.0118 -0.1604) |
| OKLCH | oklch(40.95% 0.161 274.2) |
| XYZ | xyz(9.1852, 6.2586, 33.5181) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.42
Blueberry
#464196
ΔE00 3.65
Darkslateblue
#483D8B
ΔE00 5.04
Ocean Blue
#4F42B5
ΔE00 5.28
Blue Blue
#2242C7
ΔE00 5.87
Cobalt
#0047AB
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343A9F #9F9934
analogous
#34709F #343A9F #64349F
triadic
#343A9F #9F343A #3A9F34
tetradic
#343A9F #9F3470 #9F9934 #349F64
square
#343A9F #9F3470 #9F9934 #349F64
split-complementary
#343A9F #9F6434 #709F34
monochromatic
#161843 #252971 #343A9F #4C53C4 #7A7FD3
Accessibility & contrast
On white
9.33
#343A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#343A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343A9F
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343A9F | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #343a9f; /* rgb */ color: rgb(52, 58, 159); /* oklch */ color: oklch(41.0% 0.161 274.2);
Tailwind
colors: {
custom: {
50: '#7970bc',
500: '#343a9f',
950: '#000000',
},
}SCSS
$custom: #343a9f; $custom-light: #7970bc; $custom-dark: #000000;
JSON
{
"hex": "#343a9f",
"rgb": {
"r": 52,
"g": 58,
"b": 159
},
"hsl": {
"h": 236.636,
"s": 50.711,
"l": 41.373
},
"oklch": {
"l": 0.40953,
"c": 0.16086,
"h": 274.2
},
"luminance": 0.06259
}Semantic roles & 50–950 ramp
primary
#343A9F
secondary
#BCB873
accent
#D24EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81