#323797#323797

#323797 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.154 H 274.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#323797
RGBrgb(50, 55, 151)
HSLhsl(237, 50%, 39%)
HSVhsv(237, 67%, 59%)
CMYKcmyk(66.9%, 63.6%, 0%, 40.8%)
CIE-LABlab(28.50, 29.73, -53.32)
CIE-LCHlch(28.50, 61.04, 299.14°)
OKLaboklab(39.56% 0.0123 -0.1537)
OKLCHoklch(39.56% 0.154 274.6)
XYZxyz(8.2656, 5.6441, 29.9260)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323797 #979232
analogous
#326A97 #323797 #603297
triadic
#323797 #973237 #379732
tetradic
#323797 #97326A #979232 #329760
square
#323797 #97326A #979232 #329760
split-complementary
#323797 #976032 #6A9732
monochromatic
#14163B #232669 #323797 #454BC1 #7377D1

Accessibility & contrast

On white

9.86
#323797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#323797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323797
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323797#FFFFFF#000000##FFFFFF
##3237971.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323797;
/* rgb */ color: rgb(50, 55, 151);
/* oklch */ color: oklch(39.6% 0.154 274.6);
Tailwind
colors: {
  custom: {
    50: '#776eb6',
    500: '#323797',
    950: '#000000',
  },
}
SCSS
$custom: #323797;
$custom-light: #776eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#323797",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 237.03,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39561,
    "c": 0.15419,
    "h": 274.6
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323797

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

Preview Lab → · Contrast checker → · Palette generator →

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