#343FAF#343FAF
#343FAF is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.176 H 272.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #343FAF |
|---|---|
| RGB | rgb(52, 63, 175) |
| HSL | hsl(235, 54%, 45%) |
| HSV | hsv(235, 70%, 69%) |
| CMYK | cmyk(70.3%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(32.66, 33.42, -61.00) |
| CIE-LCH | lch(32.66, 69.55, 298.71°) |
| OKLab | oklab(43.29% 0.007 -0.1761) |
| OKLCH | oklch(43.29% 0.176 272.3) |
| XYZ | xyz(10.9289, 7.3792, 41.3975) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.49
Blue Blue
#2242C7
ΔE00 3.38
Ocean Blue
#4F42B5
ΔE00 3.94
Blueberry
#464196
ΔE00 4.74
Cobalt
#0047AB
ΔE00 5.65
Blue With A Hint Of Purple
#533CC6
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343FAF #AFA434
analogous
#347DAF #343FAF #6734AF
triadic
#343FAF #AF343F #3FAF34
tetradic
#343FAF #AF347D #AFA434 #34AF67
square
#343FAF #AF347D #AFA434 #34AF67
split-complementary
#343FAF #AF6734 #7DAF34
monochromatic
#181D51 #262E80 #343FAF #545FCC #838BDA
Accessibility & contrast
On white
8.48
#343FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#343FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343FAF
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343FAF | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #343faf; /* rgb */ color: rgb(52, 63, 175); /* oklch */ color: oklch(43.3% 0.176 272.3);
Tailwind
colors: {
custom: {
50: '#7c74c8',
500: '#343faf',
950: '#000000',
},
}SCSS
$custom: #343faf; $custom-light: #7c74c8; $custom-dark: #000000;
JSON
{
"hex": "#343faf",
"rgb": {
"r": 52,
"g": 63,
"b": 175
},
"hsl": {
"h": 234.634,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.43286,
"c": 0.17627,
"h": 272.3
},
"luminance": 0.0738
}Semantic roles & 50–950 ramp
primary
#343FAF
secondary
#C4BD7B
accent
#D04ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82