#343E97#343E97
#343E97 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.145 H 273.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #343E97 |
|---|---|
| RGB | rgb(52, 62, 151) |
| HSL | hsl(234, 49%, 40%) |
| HSV | hsv(234, 66%, 59%) |
| CMYK | cmyk(65.6%, 58.9%, 0%, 40.8%) |
| CIE-LAB | lab(30.42, 25.44, -50.18) |
| CIE-LCH | lch(30.42, 56.26, 296.89°) |
| OKLab | oklab(41.02% 0.0085 -0.1443) |
| OKLCH | oklch(41.02% 0.145 273.4) |
| XYZ | xyz(8.7229, 6.4089, 30.0495) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.06
Sapphire (survey)
#2138AB
ΔE00 3.79
Darkslateblue
#483D8B
ΔE00 4.52
Cobalt
#0047AB
ΔE00 5.96
Cobalt (survey)
#1E488F
ΔE00 6.15
Ocean Blue
#4F42B5
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343E97 #978D34
analogous
#347097 #343E97 #5B3497
triadic
#343E97 #97343E #3E9734
tetradic
#343E97 #973470 #978D34 #34975B
square
#343E97 #973470 #978D34 #34975B
split-complementary
#343E97 #975B34 #709734
monochromatic
#15193C #242B69 #343E97 #4854C0 #767FD0
Accessibility & contrast
On white
9.20
#343E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#343E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343E97
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343E97 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #343e97; /* rgb */ color: rgb(52, 62, 151); /* oklch */ color: oklch(41.0% 0.145 273.4);
Tailwind
colors: {
custom: {
50: '#7773b6',
500: '#343e97',
950: '#000000',
},
}SCSS
$custom: #343e97; $custom-light: #7773b6; $custom-dark: #000000;
JSON
{
"hex": "#343e97",
"rgb": {
"r": 52,
"g": 62,
"b": 151
},
"hsl": {
"h": 233.939,
"s": 48.768,
"l": 39.804
},
"oklch": {
"l": 0.41019,
"c": 0.1446,
"h": 273.4
},
"luminance": 0.0641
}Semantic roles & 50–950 ramp
primary
#343E97
secondary
#B8B16F
accent
#CB4FD8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80