#343FB1#343FB1
#343FB1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.179 H 272.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #343FB1 |
|---|---|
| RGB | rgb(52, 63, 177) |
| HSL | hsl(235, 55%, 45%) |
| HSV | hsv(235, 71%, 69%) |
| CMYK | cmyk(70.6%, 64.4%, 0%, 30.6%) |
| CIE-LAB | lab(32.83, 34.13, -61.91) |
| CIE-LCH | lch(32.83, 70.69, 298.87°) |
| OKLab | oklab(43.47% 0.0069 -0.1788) |
| OKLCH | oklch(43.47% 0.179 272.2) |
| XYZ | xyz(11.1268, 7.4583, 42.4397) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.58
Blue Blue
#2242C7
ΔE00 3.15
Ocean Blue
#4F42B5
ΔE00 3.83
Blueberry
#464196
ΔE00 4.96
Blue With A Hint Of Purple
#533CC6
ΔE00 5.50
Cobalt
#0047AB
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343FB1 #B1A634
analogous
#347EB1 #343FB1 #6834B1
triadic
#343FB1 #B1343F #3FB134
tetradic
#343FB1 #B1347E #B1A634 #34B168
square
#343FB1 #B1347E #B1A634 #34B168
split-complementary
#343FB1 #B16834 #7EB134
monochromatic
#181D52 #262E82 #343FB1 #5560CD #848CDB
Accessibility & contrast
On white
8.43
#343FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#343FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343FB1
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343FB1 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #343fb1; /* rgb */ color: rgb(52, 63, 177); /* oklch */ color: oklch(43.5% 0.179 272.2);
Tailwind
colors: {
custom: {
50: '#7d74c9',
500: '#343fb1',
950: '#000000',
},
}SCSS
$custom: #343fb1; $custom-light: #7d74c9; $custom-dark: #000000;
JSON
{
"hex": "#343fb1",
"rgb": {
"r": 52,
"g": 63,
"b": 177
},
"hsl": {
"h": 234.72,
"s": 54.585,
"l": 44.902
},
"oklch": {
"l": 0.43466,
"c": 0.17892,
"h": 272.2
},
"luminance": 0.07459
}Semantic roles & 50–950 ramp
primary
#343FB1
secondary
#C5BE7C
accent
#D14ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82