#343AB6#343AB6

#343AB6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.191 H 272.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#343AB6
RGBrgb(52, 58, 182)
HSLhsl(237, 56%, 46%)
HSVhsv(237, 71%, 71%)
CMYKcmyk(71.4%, 68.1%, 0%, 28.6%)
CIE-LABlab(32.11, 39.01, -66.06)
CIE-LCHlch(32.11, 76.72, 300.56°)
OKLaboklab(43.08% 0.0098 -0.191)
OKLCHoklch(43.08% 0.191 272.9)
XYZxyz(11.3699, 7.1325, 45.0244)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AB6 #B6B034
analogous
#347BB6 #343AB6 #6F34B6
triadic
#343AB6 #B6343A #3AB634
tetradic
#343AB6 #B6347B #B6B034 #34B66F
square
#343AB6 #B6347B #B6B034 #34B66F
split-complementary
#343AB6 #B66F34 #7BB634
monochromatic
#191C57 #262B86 #343AB6 #585DCF #888BDD

Accessibility & contrast

On white

8.65
#343AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343AB6
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AB6#FFFFFF#000000##FFFFFF
##343AB61.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343ab6;
/* rgb */ color: rgb(52, 58, 182);
/* oklch */ color: oklch(43.1% 0.191 272.9);
Tailwind
colors: {
  custom: {
    50: '#7e71cd',
    500: '#343ab6',
    950: '#000000',
  },
}
SCSS
$custom: #343ab6;
$custom-light: #7e71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#343ab6",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 237.231,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43078,
    "c": 0.19121,
    "h": 272.9
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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