#343AB7#343AB7

#343AB7 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.193 H 272.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#343AB7
RGBrgb(52, 58, 183)
HSLhsl(237, 56%, 46%)
HSVhsv(237, 72%, 72%)
CMYKcmyk(71.6%, 68.3%, 0%, 28.2%)
CIE-LABlab(32.20, 39.35, -66.50)
CIE-LCHlch(32.20, 77.27, 300.62°)
OKLaboklab(43.17% 0.0097 -0.1922)
OKLCHoklch(43.17% 0.193 272.9)
XYZxyz(11.4736, 7.1739, 45.5706)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AB7 #B7B134
analogous
#347BB7 #343AB7 #6F34B7
triadic
#343AB7 #B7343A #3AB734
tetradic
#343AB7 #B7347B #B7B134 #34B76F
square
#343AB7 #B7347B #B7B134 #34B76F
split-complementary
#343AB7 #B76F34 #7BB734
monochromatic
#191C58 #262B87 #343AB7 #595ED0 #888CDD

Accessibility & contrast

On white

8.62
#343AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#343AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AB7
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AB7#FFFFFF#000000##FFFFFF
##343AB71.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343ab7;
/* rgb */ color: rgb(52, 58, 183);
/* oklch */ color: oklch(43.2% 0.193 272.9);
Tailwind
colors: {
  custom: {
    50: '#7e71ce',
    500: '#343ab7',
    950: '#000000',
  },
}
SCSS
$custom: #343ab7;
$custom-light: #7e71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#343ab7",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 237.252,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.1925,
    "h": 272.9
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#343AB7
secondary
#C7C480
accent
#D849DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #343AB7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#343AB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva