#323799#323799

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

Color values

HEX#323799
RGBrgb(50, 55, 153)
HSLhsl(237, 51%, 40%)
HSVhsv(237, 67%, 60%)
CMYKcmyk(67.3%, 64.1%, 0%, 40%)
CIE-LABlab(28.67, 30.44, -54.26)
CIE-LCHlch(28.67, 62.22, 299.29°)
OKLaboklab(39.74% 0.0122 -0.1565)
OKLCHoklch(39.74% 0.157 274.5)
XYZxyz(8.4294, 5.7096, 30.7887)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323799 #999432
analogous
#326B99 #323799 #603299
triadic
#323799 #993237 #379932
tetradic
#323799 #99326B #999432 #329960
square
#323799 #99326B #999432 #329960
split-complementary
#323799 #996032 #6B9932
monochromatic
#14163D #23266B #323799 #464CC2 #7478D2

Accessibility & contrast

On white

9.80
#323799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#323799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323799
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323799#FFFFFF#000000##FFFFFF
##3237991.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323799;
/* rgb */ color: rgb(50, 55, 153);
/* oklch */ color: oklch(39.7% 0.157 274.5);
Tailwind
colors: {
  custom: {
    50: '#776eb8',
    500: '#323799',
    950: '#000000',
  },
}
SCSS
$custom: #323799;
$custom-light: #776eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#323799",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 237.087,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3974,
    "c": 0.15693,
    "h": 274.5
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#323799
secondary
#BAB66D
accent
#D34EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323799

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

Preview Lab → · Contrast checker → · Palette generator →

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