#343E98#343E98
#343E98 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.146 H 273.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #343E98 |
|---|---|
| RGB | rgb(52, 62, 152) |
| HSL | hsl(234, 49%, 40%) |
| HSV | hsv(234, 66%, 60%) |
| CMYK | cmyk(65.8%, 59.2%, 0%, 40.4%) |
| CIE-LAB | lab(30.50, 25.80, -50.66) |
| CIE-LCH | lch(30.50, 56.85, 296.99°) |
| OKLab | oklab(41.1% 0.0085 -0.1458) |
| OKLCH | oklch(41.1% 0.146 273.3) |
| XYZ | xyz(8.8044, 6.4415, 30.4790) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.07
Sapphire (survey)
#2138AB
ΔE00 3.66
Darkslateblue
#483D8B
ΔE00 4.58
Cobalt
#0047AB
ΔE00 5.91
Ocean Blue
#4F42B5
ΔE00 6.06
Cobalt (survey)
#1E488F
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343E98 #988E34
analogous
#347098 #343E98 #5C3498
triadic
#343E98 #98343E #3E9834
tetradic
#343E98 #983470 #988E34 #34985C
square
#343E98 #983470 #988E34 #34985C
split-complementary
#343E98 #985C34 #709834
monochromatic
#15193D #242B6A #343E98 #4955C1 #767FD0
Accessibility & contrast
On white
9.18
#343E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#343E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343E98
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343E98 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #343e98; /* rgb */ color: rgb(52, 62, 152); /* oklch */ color: oklch(41.1% 0.146 273.3);
Tailwind
colors: {
custom: {
50: '#7773b7',
500: '#343e98',
950: '#000000',
},
}SCSS
$custom: #343e98; $custom-light: #7773b7; $custom-dark: #000000;
JSON
{
"hex": "#343e98",
"rgb": {
"r": 52,
"g": 62,
"b": 152
},
"hsl": {
"h": 234,
"s": 49.02,
"l": 40
},
"oklch": {
"l": 0.41102,
"c": 0.14602,
"h": 273.3
},
"luminance": 0.06442
}Semantic roles & 50–950 ramp
primary
#343E98
secondary
#B9B16F
accent
#CB4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80