#323998#323998

#323998 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.153 H 274.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#323998
RGBrgb(50, 57, 152)
HSLhsl(236, 50%, 40%)
HSVhsv(236, 67%, 60%)
CMYKcmyk(67.1%, 62.5%, 0%, 40.4%)
CIE-LABlab(29.08, 28.78, -52.97)
CIE-LCHlch(29.08, 60.28, 298.52°)
OKLaboklab(40.02% 0.0106 -0.1527)
OKLCHoklch(40.02% 0.153 274)
XYZxyz(8.4441, 5.8706, 30.3878)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323998 #989132
analogous
#326C98 #323998 #5E3298
triadic
#323998 #983239 #399832
tetradic
#323998 #98326C #989132 #32985E
square
#323998 #98326C #989132 #32985E
split-complementary
#323998 #985E32 #6C9832
monochromatic
#14163C #23286A #323998 #454EC2 #737AD1

Accessibility & contrast

On white

9.66
#323998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#323998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323998
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323998#FFFFFF#000000##FFFFFF
##3239981.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323998;
/* rgb */ color: rgb(50, 57, 152);
/* oklch */ color: oklch(40.0% 0.153 274.0);
Tailwind
colors: {
  custom: {
    50: '#776fb7',
    500: '#323998',
    950: '#000000',
  },
}
SCSS
$custom: #323998;
$custom-light: #776fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#323998",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 152
  },
  "hsl": {
    "h": 235.882,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40019,
    "c": 0.15303,
    "h": 274
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#323998
secondary
#B9B46D
accent
#D04EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323998

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

Preview Lab → · Contrast checker → · Palette generator →

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