#343397#343397

#343397 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.159 H 276.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#343397
RGBrgb(52, 51, 151)
HSLhsl(241, 50%, 40%)
HSVhsv(241, 66%, 59%)
CMYKcmyk(65.6%, 66.2%, 0%, 40.8%)
CIE-LABlab(27.66, 32.61, -54.68)
CIE-LCHlch(27.66, 63.66, 300.81°)
OKLaboklab(38.99% 0.0181 -0.1577)
OKLCHoklch(38.99% 0.159 276.5)
XYZxyz(8.1841, 5.3314, 29.8699)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343397 #969733
analogous
#336497 #343397 #663397
triadic
#343397 #973433 #339734
tetradic
#343397 #973364 #969733 #339766
square
#343397 #973364 #969733 #339766
split-complementary
#343397 #976633 #649733
monochromatic
#14143C #242469 #343397 #4847C1 #7574D0

Accessibility & contrast

On white

10.16
#343397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#343397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343397
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343397#FFFFFF#000000##FFFFFF
##3433971.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #343397;
/* rgb */ color: rgb(52, 51, 151);
/* oklch */ color: oklch(39.0% 0.159 276.5);
Tailwind
colors: {
  custom: {
    50: '#786bb6',
    500: '#343397',
    950: '#000000',
  },
}
SCSS
$custom: #343397;
$custom-light: #786bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#343397",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 240.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38985,
    "c": 0.1587,
    "h": 276.5
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#343397
secondary
#B8B86D
accent
#D94FD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #343397

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

Preview Lab → · Contrast checker → · Palette generator →

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