#343BA4#343BA4

#343BA4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.166 H 273.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#343BA4
RGBrgb(52, 59, 164)
HSLhsl(236, 52%, 42%)
HSVhsv(236, 68%, 64%)
CMYKcmyk(68.3%, 64%, 0%, 35.7%)
CIE-LABlab(30.73, 32.07, -57.56)
CIE-LCHlch(30.73, 65.89, 299.12°)
OKLaboklab(41.58% 0.0107 -0.1661)
OKLCHoklch(41.58% 0.166 273.7)
XYZxyz(9.6787, 6.5374, 35.8665)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BA4 #A49D34
analogous
#3473A4 #343BA4 #6534A4
triadic
#343BA4 #A4343B #3BA434
tetradic
#343BA4 #A43473 #A49D34 #34A465
square
#343BA4 #A43473 #A49D34 #34A465
split-complementary
#343BA4 #A46534 #73A434
monochromatic
#171A47 #252A76 #343BA4 #4E56C7 #7D82D6

Accessibility & contrast

On white

9.10
#343BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#343BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BA4
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BA4#FFFFFF#000000##FFFFFF
##343BA41.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343ba4;
/* rgb */ color: rgb(52, 59, 164);
/* oklch */ color: oklch(41.6% 0.166 273.7);
Tailwind
colors: {
  custom: {
    50: '#7a71c0',
    500: '#343ba4',
    950: '#000000',
  },
}
SCSS
$custom: #343ba4;
$custom-light: #7a71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#343ba4",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 236.25,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4158,
    "c": 0.1664,
    "h": 273.7
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#343BA4
secondary
#BFBA75
accent
#D24CDB
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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