#343597#343597

#343597 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.156 H 276.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#343597
RGBrgb(52, 53, 151)
HSLhsl(239, 49%, 40%)
HSVhsv(239, 66%, 59%)
CMYKcmyk(65.6%, 64.9%, 0%, 40.8%)
CIE-LABlab(28.14, 31.33, -53.89)
CIE-LCHlch(28.14, 62.34, 300.17°)
OKLaboklab(39.34% 0.0164 -0.1553)
OKLCHoklch(39.34% 0.156 276)
XYZxyz(8.2734, 5.5099, 29.8997)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343597 #979634
analogous
#346797 #343597 #653497
triadic
#343597 #973435 #359734
tetradic
#343597 #973467 #979634 #349765
square
#343597 #973467 #979634 #349765
split-complementary
#343597 #976534 #679734
monochromatic
#15153C #242569 #343597 #4849C0 #7677D0

Accessibility & contrast

On white

9.99
#343597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#343597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343597
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343597#FFFFFF#000000##FFFFFF
##3435971.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #343597;
/* rgb */ color: rgb(52, 53, 151);
/* oklch */ color: oklch(39.3% 0.156 276.0);
Tailwind
colors: {
  custom: {
    50: '#786cb6',
    500: '#343597',
    950: '#000000',
  },
}
SCSS
$custom: #343597;
$custom-light: #786cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#343597",
  "rgb": {
    "r": 52,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 239.394,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39336,
    "c": 0.15621,
    "h": 276
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#343597
secondary
#B8B76F
accent
#D74FD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #343597

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

Preview Lab → · Contrast checker → · Palette generator →

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