#343399#343399

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

Color values

HEX#343399
RGBrgb(52, 51, 153)
HSLhsl(241, 50%, 40%)
HSVhsv(241, 67%, 60%)
CMYKcmyk(66%, 66.7%, 0%, 40%)
CIE-LABlab(27.84, 33.30, -55.61)
CIE-LCHlch(27.84, 64.82, 300.91°)
OKLaboklab(39.17% 0.0179 -0.1604)
OKLCHoklch(39.17% 0.161 276.4)
XYZxyz(8.3479, 5.3969, 30.7326)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343399 #989933
analogous
#336599 #343399 #673399
triadic
#343399 #993433 #339934
tetradic
#343399 #993365 #989933 #339967
square
#343399 #993365 #989933 #339967
split-complementary
#343399 #996733 #659933
monochromatic
#15143D #24246B #343399 #4947C2 #7675D1

Accessibility & contrast

On white

10.10
#343399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343399
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343399#FFFFFF#000000##FFFFFF
##3433991.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #343399;
/* rgb */ color: rgb(52, 51, 153);
/* oklch */ color: oklch(39.2% 0.161 276.4);
Tailwind
colors: {
  custom: {
    50: '#786bb8',
    500: '#343399',
    950: '#000000',
  },
}
SCSS
$custom: #343399;
$custom-light: #786bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#343399",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 240.588,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.39169,
    "c": 0.1614,
    "h": 276.4
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#343399
secondary
#B9B96E
accent
#DA4ED8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #343399

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

Preview Lab → · Contrast checker → · Palette generator →

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