#343AB4#343AB4

#343AB4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.189 H 273.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#343AB4
RGBrgb(52, 58, 180)
HSLhsl(237, 55%, 45%)
HSVhsv(237, 71%, 71%)
CMYKcmyk(71.1%, 67.8%, 0%, 29.4%)
CIE-LABlab(31.92, 38.31, -65.18)
CIE-LCHlch(31.92, 75.60, 300.45°)
OKLaboklab(42.89% 0.01 -0.1884)
OKLCHoklch(42.89% 0.189 273.1)
XYZxyz(11.1647, 7.0504, 43.9436)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AB4 #B4AE34
analogous
#347AB4 #343AB4 #6E34B4
triadic
#343AB4 #B4343A #3AB434
tetradic
#343AB4 #B4347A #B4AE34 #34B46E
square
#343AB4 #B4347A #B4AE34 #34B46E
split-complementary
#343AB4 #B46E34 #7AB434
monochromatic
#191B55 #262B85 #343AB4 #575CCE #868ADC

Accessibility & contrast

On white

8.71
#343AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#343AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AB4
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AB4#FFFFFF#000000##FFFFFF
##343AB41.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343ab4;
/* rgb */ color: rgb(52, 58, 180);
/* oklch */ color: oklch(42.9% 0.189 273.1);
Tailwind
colors: {
  custom: {
    50: '#7e71cc',
    500: '#343ab4',
    950: '#000000',
  },
}
SCSS
$custom: #343ab4;
$custom-light: #7e71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#343ab4",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 237.188,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42888,
    "c": 0.18865,
    "h": 273.1
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#343AB4
secondary
#C6C27E
accent
#D849DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #343AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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