#343E95#343E95
#343E95 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.142 H 273.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #343E95 |
|---|---|
| RGB | rgb(52, 62, 149) |
| HSL | hsl(234, 48%, 39%) |
| HSV | hsv(234, 65%, 58%) |
| CMYK | cmyk(65.1%, 58.4%, 0%, 41.6%) |
| CIE-LAB | lab(30.27, 24.72, -49.21) |
| CIE-LCH | lch(30.27, 55.07, 296.67°) |
| OKLab | oklab(40.85% 0.0084 -0.1415) |
| OKLCH | oklch(40.85% 0.142 273.4) |
| XYZ | xyz(8.5618, 6.3445, 29.2014) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.06
Sapphire (survey)
#2138AB
ΔE00 4.06
Darkslateblue
#483D8B
ΔE00 4.40
Cobalt (survey)
#1E488F
ΔE00 6.06
Cobalt
#0047AB
ΔE00 6.07
Ocean Blue
#4F42B5
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343E95 #958B34
analogous
#346F95 #343E95 #5A3495
triadic
#343E95 #95343E #3E9534
tetradic
#343E95 #95346F #958B34 #34955A
square
#343E95 #95346F #958B34 #34955A
split-complementary
#343E95 #955A34 #6F9534
monochromatic
#14183A #242B68 #343E95 #4754BF #757ECF
Accessibility & contrast
On white
9.26
#343E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#343E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343E95
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343E95 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #343e95; /* rgb */ color: rgb(52, 62, 149); /* oklch */ color: oklch(40.9% 0.142 273.4);
Tailwind
colors: {
custom: {
50: '#7773b5',
500: '#343e95',
950: '#000000',
},
}SCSS
$custom: #343e95; $custom-light: #7773b5; $custom-dark: #000000;
JSON
{
"hex": "#343e95",
"rgb": {
"r": 52,
"g": 62,
"b": 149
},
"hsl": {
"h": 233.814,
"s": 48.259,
"l": 39.412
},
"oklch": {
"l": 0.40853,
"c": 0.14176,
"h": 273.4
},
"luminance": 0.06345
}Semantic roles & 50–950 ramp
primary
#343E95
secondary
#B7B06E
accent
#CA50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80