#323897#323897

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

Color values

HEX#323897
RGBrgb(50, 56, 151)
HSLhsl(236, 50%, 39%)
HSVhsv(236, 67%, 59%)
CMYKcmyk(66.9%, 62.9%, 0%, 40.8%)
CIE-LABlab(28.75, 29.07, -52.91)
CIE-LCHlch(28.75, 60.37, 298.79°)
OKLaboklab(39.75% 0.0115 -0.1525)
OKLCHoklch(39.75% 0.153 274.3)
XYZxyz(8.3136, 5.7401, 29.9420)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323897 #979132
analogous
#326B97 #323897 #5F3297
triadic
#323897 #973238 #389732
tetradic
#323897 #97326B #979132 #32975F
square
#323897 #97326B #979132 #32975F
split-complementary
#323897 #975F32 #6B9732
monochromatic
#14163B #232769 #323897 #454CC1 #7378D1

Accessibility & contrast

On white

9.78
#323897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#323897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323897
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323897#FFFFFF#000000##FFFFFF
##3238971.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323897;
/* rgb */ color: rgb(50, 56, 151);
/* oklch */ color: oklch(39.7% 0.153 274.3);
Tailwind
colors: {
  custom: {
    50: '#776eb6',
    500: '#323897',
    950: '#000000',
  },
}
SCSS
$custom: #323897;
$custom-light: #776eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#323897",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 236.436,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.15292,
    "h": 274.3
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#323897
secondary
#B9B46C
accent
#D14EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323897

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

Preview Lab → · Contrast checker → · Palette generator →

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