#323A97#323A97

#323A97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.150 H 273.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#323A97
RGBrgb(50, 58, 151)
HSLhsl(235, 50%, 39%)
HSVhsv(235, 67%, 59%)
CMYKcmyk(66.9%, 61.6%, 0%, 40.8%)
CIE-LABlab(29.25, 27.76, -52.08)
CIE-LCHlch(29.25, 59.02, 298.06°)
OKLaboklab(40.12% 0.0097 -0.15)
OKLCHoklch(40.12% 0.15 273.7)
XYZxyz(8.4125, 5.9378, 29.9749)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A97 #978F32
analogous
#326C97 #323A97 #5D3297
triadic
#323A97 #97323A #3A9732
tetradic
#323A97 #97326C #978F32 #32975D
square
#323A97 #97326C #978F32 #32975D
split-complementary
#323A97 #975D32 #6C9732
monochromatic
#14173B #232869 #323A97 #454FC1 #737AD1

Accessibility & contrast

On white

9.60
#323A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#323A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A97
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A97#FFFFFF#000000##FFFFFF
##323A971.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323a97;
/* rgb */ color: rgb(50, 58, 151);
/* oklch */ color: oklch(40.1% 0.150 273.7);
Tailwind
colors: {
  custom: {
    50: '#7670b6',
    500: '#323a97',
    950: '#000000',
  },
}
SCSS
$custom: #323a97;
$custom-light: #7670b6;
$custom-dark: #000000;
JSON
{
  "hex": "#323a97",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 235.248,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4012,
    "c": 0.15036,
    "h": 273.7
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#323A97
secondary
#B9B36C
accent
#CF4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323A97

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

Preview Lab → · Contrast checker → · Palette generator →

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