#343BA6#343BA6

#343BA6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.169 H 273.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#343BA6
RGBrgb(52, 59, 166)
HSLhsl(236, 52%, 43%)
HSVhsv(236, 69%, 65%)
CMYKcmyk(68.7%, 64.5%, 0%, 34.9%)
CIE-LABlab(30.90, 32.78, -58.48)
CIE-LCHlch(30.90, 67.04, 299.27°)
OKLaboklab(41.76% 0.0106 -0.1688)
OKLCHoklch(41.76% 0.169 273.6)
XYZxyz(9.8608, 6.6103, 36.8252)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BA6 #A69F34
analogous
#3474A6 #343BA6 #6634A6
triadic
#343BA6 #A6343B #3BA634
tetradic
#343BA6 #A63474 #A69F34 #34A666
square
#343BA6 #A63474 #A69F34 #34A666
split-complementary
#343BA6 #A66634 #74A634
monochromatic
#171A49 #252A77 #343BA6 #4F57C8 #7E83D7

Accessibility & contrast

On white

9.04
#343BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#343BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BA6
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BA6#FFFFFF#000000##FFFFFF
##343BA61.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343ba6;
/* rgb */ color: rgb(52, 59, 166);
/* oklch */ color: oklch(41.8% 0.169 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a71c1',
    500: '#343ba6',
    950: '#000000',
  },
}
SCSS
$custom: #343ba6;
$custom-light: #7a71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#343ba6",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 236.316,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.16909,
    "h": 273.6
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#343BA6
secondary
#C0BB76
accent
#D34CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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