#343496#343496

#343496 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.156 H 276.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#343496
RGBrgb(52, 52, 150)
HSLhsl(240, 49%, 40%)
HSVhsv(240, 65%, 59%)
CMYKcmyk(65.3%, 65.3%, 0%, 41.2%)
CIE-LABlab(27.81, 31.62, -53.82)
CIE-LCHlch(27.81, 62.42, 300.44°)
OKLaboklab(39.07% 0.0174 -0.1551)
OKLCHoklch(39.07% 0.156 276.4)
XYZxyz(8.1474, 5.3874, 29.4588)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343496 #969634
analogous
#346596 #343496 #653496
triadic
#343496 #963434 #349634
tetradic
#343496 #963465 #969634 #349665
square
#343496 #963465 #969634 #349665
split-complementary
#343496 #966534 #659634
monochromatic
#14143B #242469 #343496 #4848BF #7575CF

Accessibility & contrast

On white

10.11
#343496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#343496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343496
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343496#FFFFFF#000000##FFFFFF
##3434961.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #343496;
/* rgb */ color: rgb(52, 52, 150);
/* oklch */ color: oklch(39.1% 0.156 276.4);
Tailwind
colors: {
  custom: {
    50: '#786cb6',
    500: '#343496',
    950: '#000000',
  },
}
SCSS
$custom: #343496;
$custom-light: #786cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#343496",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 240,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39069,
    "c": 0.1561,
    "h": 276.4
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#343496
secondary
#B8B86E
accent
#D850D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #343496

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

Preview Lab → · Contrast checker → · Palette generator →

#343496 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva