#343F97#343F97
#343F97 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.143 H 273.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #343F97 |
|---|---|
| RGB | rgb(52, 63, 151) |
| HSL | hsl(233, 49%, 40%) |
| HSV | hsv(233, 66%, 59%) |
| CMYK | cmyk(65.6%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.69, 24.78, -49.75) |
| CIE-LCH | lch(30.69, 55.58, 296.47°) |
| OKLab | oklab(41.22% 0.0075 -0.1431) |
| OKLCH | oklch(41.22% 0.143 273) |
| XYZ | xyz(8.7777, 6.5187, 30.0678) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.10
Sapphire (survey)
#2138AB
ΔE00 3.96
Darkslateblue
#483D8B
ΔE00 4.63
Cobalt
#0047AB
ΔE00 5.74
Cobalt (survey)
#1E488F
ΔE00 5.86
Ocean Blue
#4F42B5
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343F97 #978C34
analogous
#347197 #343F97 #5A3497
triadic
#343F97 #97343F #3F9734
tetradic
#343F97 #973471 #978C34 #34975A
square
#343F97 #973471 #978C34 #34975A
split-complementary
#343F97 #975A34 #719734
monochromatic
#15193C #242C69 #343F97 #4855C0 #7680D0
Accessibility & contrast
On white
9.12
#343F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#343F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343F97
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343F97 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #343f97; /* rgb */ color: rgb(52, 63, 151); /* oklch */ color: oklch(41.2% 0.143 273.0);
Tailwind
colors: {
custom: {
50: '#7774b6',
500: '#343f97',
950: '#000000',
},
}SCSS
$custom: #343f97; $custom-light: #7774b6; $custom-dark: #000000;
JSON
{
"hex": "#343f97",
"rgb": {
"r": 52,
"g": 63,
"b": 151
},
"hsl": {
"h": 233.333,
"s": 48.768,
"l": 39.804
},
"oklch": {
"l": 0.41215,
"c": 0.14329,
"h": 273
},
"luminance": 0.06519
}Semantic roles & 50–950 ramp
primary
#343F97
secondary
#B8B06F
accent
#C94FD8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80