#343B79#343B79
#343B79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.1% C 0.104 H 275.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #343B79 |
|---|---|
| RGB | rgb(52, 59, 121) |
| HSL | hsl(234, 40%, 34%) |
| HSV | hsv(234, 57%, 47%) |
| CMYK | cmyk(57%, 51.2%, 0%, 52.5%) |
| CIE-LAB | lab(27.40, 16.66, -36.45) |
| CIE-LCH | lch(27.40, 40.08, 294.56°) |
| OKLab | oklab(38.06% 0.0099 -0.104) |
| OKLCH | oklch(38.06% 0.104 275.4) |
| XYZ | xyz(6.4302, 5.2380, 18.7577) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.92
Blueberry
#464196
ΔE00 5.64
Cobalt (survey)
#1E488F
ΔE00 7.28
Twilight
#4E518B
ΔE00 7.50
Marine
#042E60
ΔE00 7.53
Darkish Blue
#014182
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343B79 #797234
analogous
#345E79 #343B79 #503479
triadic
#343B79 #79343B #3B7934
tetradic
#343B79 #79345E #797234 #347950
square
#343B79 #79345E #797234 #347950
split-complementary
#343B79 #795034 #5E7934
monochromatic
#0F1123 #22264E #343B79 #4650A4 #6972BE
Accessibility & contrast
On white
10.26
#343B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#343B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343B79
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343B79 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#133E78
Tritanopia (blue-blind)
#114954
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #343b79; /* rgb */ color: rgb(52, 59, 121); /* oklch */ color: oklch(38.1% 0.104 275.4);
Tailwind
colors: {
custom: {
50: '#7170a0',
500: '#343b79',
950: '#000000',
},
}SCSS
$custom: #343b79; $custom-light: #7170a0; $custom-dark: #000000;
JSON
{
"hex": "#343b79",
"rgb": {
"r": 52,
"g": 59,
"b": 121
},
"hsl": {
"h": 233.913,
"s": 39.884,
"l": 33.922
},
"oklch": {
"l": 0.38056,
"c": 0.10449,
"h": 275.4
},
"luminance": 0.05238
}Semantic roles & 50–950 ramp
primary
#343B79
secondary
#A7A062
accent
#C458D0
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E