#343BA7#343BA7

#343BA7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.170 H 273.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#343BA7
RGBrgb(52, 59, 167)
HSLhsl(236, 53%, 43%)
HSVhsv(236, 69%, 65%)
CMYKcmyk(68.9%, 64.7%, 0%, 34.5%)
CIE-LABlab(30.99, 33.13, -58.94)
CIE-LCHlch(30.99, 67.61, 299.34°)
OKLaboklab(41.85% 0.0105 -0.1701)
OKLCHoklch(41.85% 0.17 273.5)
XYZxyz(9.9529, 6.6471, 37.3102)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BA7 #A7A034
analogous
#3474A7 #343BA7 #6634A7
triadic
#343BA7 #A7343B #3BA734
tetradic
#343BA7 #A73474 #A7A034 #34A766
square
#343BA7 #A73474 #A7A034 #34A766
split-complementary
#343BA7 #A76634 #74A734
monochromatic
#171A4A #252B78 #343BA7 #5057C8 #7E84D7

Accessibility & contrast

On white

9.01
#343BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#343BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BA7
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BA7#FFFFFF#000000##FFFFFF
##343BA71.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343ba7;
/* rgb */ color: rgb(52, 59, 167);
/* oklch */ color: oklch(41.9% 0.170 273.5);
Tailwind
colors: {
  custom: {
    50: '#7b71c2',
    500: '#343ba7',
    950: '#000000',
  },
}
SCSS
$custom: #343ba7;
$custom-light: #7b71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#343ba7",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 236.348,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41851,
    "c": 0.17043,
    "h": 273.5
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#343BA7
secondary
#C0BC77
accent
#D34CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #343BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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