#343D9F#343D9F
#343D9F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.157 H 273.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #343D9F |
|---|---|
| RGB | rgb(52, 61, 159) |
| HSL | hsl(235, 51%, 41%) |
| HSV | hsv(235, 67%, 62%) |
| CMYK | cmyk(67.3%, 61.6%, 0%, 37.6%) |
| CIE-LAB | lab(30.81, 28.98, -54.41) |
| CIE-LCH | lch(30.81, 61.65, 298.04°) |
| OKLab | oklab(41.51% 0.0093 -0.1568) |
| OKLCH | oklch(41.51% 0.157 273.4) |
| XYZ | xyz(9.3408, 6.5699, 33.5700) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.69
Blueberry
#464196
ΔE00 3.38
Darkslateblue
#483D8B
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.23
Blue Blue
#2242C7
ΔE00 5.60
Cobalt
#0047AB
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343D9F #9F9634
analogous
#34739F #343D9F #61349F
triadic
#343D9F #9F343D #3D9F34
tetradic
#343D9F #9F3473 #9F9634 #349F61
square
#343D9F #9F3473 #9F9634 #349F61
split-complementary
#343D9F #9F6134 #739F34
monochromatic
#161A43 #252B71 #343D9F #4C56C4 #7A81D3
Accessibility & contrast
On white
9.07
#343D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#343D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343D9F
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343D9F | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #343d9f; /* rgb */ color: rgb(52, 61, 159); /* oklch */ color: oklch(41.5% 0.157 273.4);
Tailwind
colors: {
custom: {
50: '#7972bc',
500: '#343d9f',
950: '#000000',
},
}SCSS
$custom: #343d9f; $custom-light: #7972bc; $custom-dark: #000000;
JSON
{
"hex": "#343d9f",
"rgb": {
"r": 52,
"g": 61,
"b": 159
},
"hsl": {
"h": 234.953,
"s": 50.711,
"l": 41.373
},
"oklch": {
"l": 0.41506,
"c": 0.15708,
"h": 273.4
},
"luminance": 0.06571
}Semantic roles & 50–950 ramp
primary
#343D9F
secondary
#BCB673
accent
#CE4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81