#343699#343699

#343699 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.158 H 275.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#343699
RGBrgb(52, 54, 153)
HSLhsl(239, 49%, 40%)
HSVhsv(239, 66%, 60%)
CMYKcmyk(66%, 64.7%, 0%, 40%)
CIE-LABlab(28.56, 31.39, -54.43)
CIE-LCHlch(28.56, 62.83, 299.97°)
OKLaboklab(39.7% 0.0155 -0.1569)
OKLCHoklch(39.7% 0.158 275.6)
XYZxyz(8.4832, 5.6676, 30.7777)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343699 #999734
analogous
#346899 #343699 #653499
triadic
#343699 #993436 #369934
tetradic
#343699 #993468 #999734 #349965
square
#343699 #993468 #999734 #349965
split-complementary
#343699 #996534 #689934
monochromatic
#15163E #24266B #343699 #494BC1 #7778D1

Accessibility & contrast

On white

9.84
#343699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#343699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343699
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343699#FFFFFF#000000##FFFFFF
##3436991.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #343699;
/* rgb */ color: rgb(52, 54, 153);
/* oklch */ color: oklch(39.7% 0.158 275.6);
Tailwind
colors: {
  custom: {
    50: '#786db8',
    500: '#343699',
    950: '#000000',
  },
}
SCSS
$custom: #343699;
$custom-light: #786db8;
$custom-dark: #000000;
JSON
{
  "hex": "#343699",
  "rgb": {
    "r": 52,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 238.812,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39695,
    "c": 0.15769,
    "h": 275.6
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#343699
secondary
#B9B870
accent
#D64FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #343699

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

Preview Lab → · Contrast checker → · Palette generator →

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