#343A90#343A90
#343A90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.140 H 275.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #343A90 |
|---|---|
| RGB | rgb(52, 58, 144) |
| HSL | hsl(236, 47%, 38%) |
| HSV | hsv(236, 64%, 56%) |
| CMYK | cmyk(63.9%, 59.7%, 0%, 43.5%) |
| CIE-LAB | lab(28.82, 25.57, -48.49) |
| CIE-LCH | lch(28.82, 54.82, 297.81°) |
| OKLab | oklab(39.66% 0.0122 -0.1394) |
| OKLCH | oklch(39.66% 0.14 275) |
| XYZ | xyz(7.9616, 5.7691, 27.0741) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.29
Darkslateblue
#483D8B
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 4.39
Ocean Blue
#4F42B5
ΔE00 7.00
Cobalt (survey)
#1E488F
ΔE00 7.08
Cobalt
#0047AB
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343A90 #908A34
analogous
#346890 #343A90 #5C3490
triadic
#343A90 #90343A #3A9034
tetradic
#343A90 #903468 #908A34 #34905C
square
#343A90 #903468 #908A34 #34905C
split-complementary
#343A90 #905C34 #689034
monochromatic
#141636 #242863 #343A90 #454DBC #7278CC
Accessibility & contrast
On white
9.75
#343A90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#343A90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343A90
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343A90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343A90 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #343a90; /* rgb */ color: rgb(52, 58, 144); /* oklch */ color: oklch(39.7% 0.140 275.0);
Tailwind
colors: {
custom: {
50: '#7670b1',
500: '#343a90',
950: '#000000',
},
}SCSS
$custom: #343a90; $custom-light: #7670b1; $custom-dark: #000000;
JSON
{
"hex": "#343a90",
"rgb": {
"r": 52,
"g": 58,
"b": 144
},
"hsl": {
"h": 236.087,
"s": 46.939,
"l": 38.431
},
"oklch": {
"l": 0.39657,
"c": 0.13995,
"h": 275
},
"luminance": 0.0577
}Semantic roles & 50–950 ramp
primary
#343A90
secondary
#B4B06B
accent
#CE51D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80