#343F9C#343F9C
#343F9C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.150 H 272.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #343F9C |
|---|---|
| RGB | rgb(52, 63, 156) |
| HSL | hsl(234, 50%, 41%) |
| HSV | hsv(234, 67%, 61%) |
| CMYK | cmyk(66.7%, 59.6%, 0%, 38.8%) |
| CIE-LAB | lab(31.08, 26.59, -52.15) |
| CIE-LCH | lch(31.08, 58.54, 297.01°) |
| OKLab | oklab(41.63% 0.0076 -0.1501) |
| OKLCH | oklch(41.63% 0.15 272.9) |
| XYZ | xyz(9.1924, 6.6846, 32.2519) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.20
Sapphire (survey)
#2138AB
ΔE00 3.35
Darkslateblue
#483D8B
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.53
Ocean Blue
#4F42B5
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343F9C #9C9134
analogous
#34739C #343F9C #5D349C
triadic
#343F9C #9C343F #3F9C34
tetradic
#343F9C #9C3473 #9C9134 #349C5D
square
#343F9C #9C3473 #9C9134 #349C5D
split-complementary
#343F9C #9C5D34 #739C34
monochromatic
#151A40 #252C6E #343F9C #4A57C3 #7882D2
Accessibility & contrast
On white
8.99
#343F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#343F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343F9C
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343F9C | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #343f9c; /* rgb */ color: rgb(52, 63, 156); /* oklch */ color: oklch(41.6% 0.150 272.9);
Tailwind
colors: {
custom: {
50: '#7874ba',
500: '#343f9c',
950: '#000000',
},
}SCSS
$custom: #343f9c; $custom-light: #7874ba; $custom-dark: #000000;
JSON
{
"hex": "#343f9c",
"rgb": {
"r": 52,
"g": 63,
"b": 156
},
"hsl": {
"h": 233.654,
"s": 50,
"l": 40.784
},
"oklch": {
"l": 0.41631,
"c": 0.15034,
"h": 272.9
},
"luminance": 0.06685
}Semantic roles & 50–950 ramp
primary
#343F9C
secondary
#BBB371
accent
#CB4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81