#323571#323571

#323571 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.102 H 277.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#323571
RGBrgb(50, 53, 113)
HSLhsl(237, 39%, 32%)
HSVhsv(237, 56%, 44%)
CMYKcmyk(55.8%, 53.1%, 0%, 55.7%)
CIE-LABlab(25.00, 17.46, -35.24)
CIE-LCHlch(25.00, 39.32, 296.35°)
OKLaboklab(36.03% 0.0139 -0.1006)
OKLCHoklch(36.03% 0.102 277.8)
XYZxyz(5.5682, 4.4162, 16.1786)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323571 #716E32
analogous
#325571 #323571 #4F3271
triadic
#323571 #713235 #357132
tetradic
#323571 #713255 #716E32 #32714F
square
#323571 #713255 #716E32 #32714F
split-complementary
#323571 #714F32 #557132
monochromatic
#0C0D1C #1F2147 #323571 #45499B #6367BA

Accessibility & contrast

On white

11.15
#323571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#323571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323571
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323571#FFFFFF#000000##FFFFFF
##3235711.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#0F3970
Tritanopia (blue-blind)
#16424D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #323571;
/* rgb */ color: rgb(50, 53, 113);
/* oklch */ color: oklch(36.0% 0.102 277.8);
Tailwind
colors: {
  custom: {
    50: '#6f6c9a',
    500: '#323571',
    950: '#000000',
  },
}
SCSS
$custom: #323571;
$custom-light: #6f6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#323571",
  "rgb": {
    "r": 50,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 237.143,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36029,
    "c": 0.10151,
    "h": 277.8
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#323571
secondary
#A29F5D
accent
#C959CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #323571

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

Preview Lab → · Contrast checker → · Palette generator →

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