#343AA4#343AA4

#343AA4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.168 H 273.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#343AA4
RGBrgb(52, 58, 164)
HSLhsl(237, 52%, 42%)
HSVhsv(237, 68%, 64%)
CMYKcmyk(68.3%, 64.6%, 0%, 35.7%)
CIE-LABlab(30.49, 32.71, -57.96)
CIE-LCHlch(30.49, 66.55, 299.44°)
OKLaboklab(41.4% 0.0115 -0.1672)
OKLCHoklch(41.4% 0.168 273.9)
XYZxyz(9.6278, 6.4356, 35.8496)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343AA4 #A49E34
analogous
#3472A4 #343AA4 #6634A4
triadic
#343AA4 #A4343A #3AA434
tetradic
#343AA4 #A43472 #A49E34 #34A466
square
#343AA4 #A43472 #A49E34 #34A466
split-complementary
#343AA4 #A46634 #72A434
monochromatic
#171947 #252A76 #343AA4 #4E55C7 #7D81D6

Accessibility & contrast

On white

9.18
#343AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#343AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343AA4
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343AA4#FFFFFF#000000##FFFFFF
##343AA41.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343aa4;
/* rgb */ color: rgb(52, 58, 164);
/* oklch */ color: oklch(41.4% 0.168 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a70c0',
    500: '#343aa4',
    950: '#000000',
  },
}
SCSS
$custom: #343aa4;
$custom-light: #7a70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#343aa4",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 236.786,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41402,
    "c": 0.16762,
    "h": 273.9
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#343AA4
secondary
#BFBB75
accent
#D44CDB
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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