#323D97#323D97

#323D97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.146 H 272.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#323D97
RGBrgb(50, 61, 151)
HSLhsl(233, 50%, 39%)
HSVhsv(233, 67%, 59%)
CMYKcmyk(66.9%, 59.6%, 0%, 40.8%)
CIE-LABlab(30.03, 25.78, -50.81)
CIE-LCHlch(30.03, 56.98, 296.90°)
OKLaboklab(40.7% 0.0071 -0.1463)
OKLCHoklch(40.7% 0.146 272.8)
XYZxyz(8.5682, 6.2492, 30.0268)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D97 #978C32
analogous
#327097 #323D97 #593297
triadic
#323D97 #97323D #3D9732
tetradic
#323D97 #973270 #978C32 #329759
square
#323D97 #973270 #978C32 #329759
split-complementary
#323D97 #975932 #709732
monochromatic
#14183B #232A69 #323D97 #4552C1 #737DD1

Accessibility & contrast

On white

9.33
#323D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#323D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D97
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D97#FFFFFF#000000##FFFFFF
##323D971.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #323d97;
/* rgb */ color: rgb(50, 61, 151);
/* oklch */ color: oklch(40.7% 0.146 272.8);
Tailwind
colors: {
  custom: {
    50: '#7672b6',
    500: '#323d97',
    950: '#000000',
  },
}
SCSS
$custom: #323d97;
$custom-light: #7672b6;
$custom-dark: #000000;
JSON
{
  "hex": "#323d97",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 233.465,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40696,
    "c": 0.14646,
    "h": 272.8
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#323D97
secondary
#B9B06C
accent
#CB4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #323D97

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

Preview Lab → · Contrast checker → · Palette generator →

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