#323971#323971

#323971 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.096 H 275.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#323971
RGBrgb(50, 57, 113)
HSLhsl(233, 39%, 32%)
HSVhsv(233, 56%, 44%)
CMYKcmyk(55.8%, 49.6%, 0%, 55.7%)
CIE-LABlab(26.15, 14.71, -33.40)
CIE-LCHlch(26.15, 36.50, 293.77°)
OKLaboklab(36.89% 0.0089 -0.0951)
OKLCHoklch(36.89% 0.096 275.3)
XYZxyz(5.7582, 4.7962, 16.2419)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323971 #716A32
analogous
#325971 #323971 #4B3271
triadic
#323971 #713239 #397132
tetradic
#323971 #713259 #716A32 #32714B
square
#323971 #713259 #716A32 #32714B
split-complementary
#323971 #714B32 #597132
monochromatic
#0C0E1C #1F2447 #323971 #454E9B #636DBA

Accessibility & contrast

On white

10.72
#323971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#323971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323971
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323971#FFFFFF#000000##FFFFFF
##3239711.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#183B70
Tritanopia (blue-blind)
#15454F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #323971;
/* rgb */ color: rgb(50, 57, 113);
/* oklch */ color: oklch(36.9% 0.096 275.3);
Tailwind
colors: {
  custom: {
    50: '#6f6f9a',
    500: '#323971',
    950: '#000000',
  },
}
SCSS
$custom: #323971;
$custom-light: #6f6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#323971",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 233.333,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36894,
    "c": 0.09554,
    "h": 275.3
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#323971
secondary
#A29A5D
accent
#C259CF
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #323971

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

Preview Lab → · Contrast checker → · Palette generator →

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