#323C71#323C71

#323C71 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.091 H 273.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#323C71
RGBrgb(50, 60, 113)
HSLhsl(230, 39%, 32%)
HSVhsv(230, 56%, 44%)
CMYKcmyk(55.8%, 46.9%, 0%, 55.7%)
CIE-LABlab(27.02, 12.65, -32.00)
CIE-LCHlch(27.02, 34.41, 291.57°)
OKLaboklab(37.56% 0.0051 -0.091)
OKLCHoklch(37.56% 0.091 273.2)
XYZxyz(5.9109, 5.1017, 16.2928)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C71 #716732
analogous
#325C71 #323C71 #483271
triadic
#323C71 #71323C #3C7132
tetradic
#323C71 #71325C #716732 #327148
square
#323C71 #71325C #716732 #327148
split-complementary
#323C71 #714832 #5C7132
monochromatic
#0C0F1C #1F2547 #323C71 #45539B #6371BA

Accessibility & contrast

On white

10.39
#323C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#323C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C71
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C71#FFFFFF#000000##FFFFFF
##323C711.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#1E3D70
Tritanopia (blue-blind)
#144851
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323c71;
/* rgb */ color: rgb(50, 60, 113);
/* oklch */ color: oklch(37.6% 0.091 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f719a',
    500: '#323c71',
    950: '#000000',
  },
}
SCSS
$custom: #323c71;
$custom-light: #6f719a;
$custom-dark: #000000;
JSON
{
  "hex": "#323c71",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 230.476,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3756,
    "c": 0.09113,
    "h": 273.2
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#323C71
secondary
#A2975D
accent
#BC59CF
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #323C71

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

Preview Lab → · Contrast checker → · Palette generator →

#323C71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva