#323899#323899

#323899 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.156 H 274.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#323899
RGBrgb(50, 56, 153)
HSLhsl(237, 51%, 40%)
HSVhsv(237, 67%, 60%)
CMYKcmyk(67.3%, 63.4%, 0%, 40%)
CIE-LABlab(28.92, 29.79, -53.85)
CIE-LCHlch(28.92, 61.54, 298.95°)
OKLaboklab(39.92% 0.0114 -0.1553)
OKLCHoklch(39.92% 0.156 274.2)
XYZxyz(8.4774, 5.8056, 30.8047)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323899 #999332
analogous
#326B99 #323899 #603299
triadic
#323899 #993238 #389932
tetradic
#323899 #99326B #999332 #329960
square
#323899 #99326B #999332 #329960
split-complementary
#323899 #996032 #6B9932
monochromatic
#14163D #23276B #323899 #464DC2 #7479D2

Accessibility & contrast

On white

9.72
#323899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#323899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323899
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323899#FFFFFF#000000##FFFFFF
##3238991.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323899;
/* rgb */ color: rgb(50, 56, 153);
/* oklch */ color: oklch(39.9% 0.156 274.2);
Tailwind
colors: {
  custom: {
    50: '#776eb8',
    500: '#323899',
    950: '#000000',
  },
}
SCSS
$custom: #323899;
$custom-light: #776eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#323899",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 236.505,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39923,
    "c": 0.15568,
    "h": 274.2
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#323899
secondary
#BAB56D
accent
#D24EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323899

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

Preview Lab → · Contrast checker → · Palette generator →

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