#323C97#323C97

#323C97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.148 H 273.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#323C97
RGBrgb(50, 60, 151)
HSLhsl(234, 50%, 39%)
HSVhsv(234, 67%, 59%)
CMYKcmyk(66.9%, 60.3%, 0%, 40.8%)
CIE-LABlab(29.77, 26.44, -51.24)
CIE-LCHlch(29.77, 57.66, 297.29°)
OKLaboklab(40.5% 0.008 -0.1475)
OKLCHoklch(40.5% 0.148 273.1)
XYZxyz(8.5153, 6.1434, 30.0092)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C97 #978D32
analogous
#326F97 #323C97 #5A3297
triadic
#323C97 #97323C #3C9732
tetradic
#323C97 #97326F #978D32 #32975A
square
#323C97 #97326F #978D32 #32975A
split-complementary
#323C97 #975A32 #6F9732
monochromatic
#14173B #232A69 #323C97 #4551C1 #737CD1

Accessibility & contrast

On white

9.42
#323C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#323C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C97
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C97#FFFFFF#000000##FFFFFF
##323C971.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323c97;
/* rgb */ color: rgb(50, 60, 151);
/* oklch */ color: oklch(40.5% 0.148 273.1);
Tailwind
colors: {
  custom: {
    50: '#7671b6',
    500: '#323c97',
    950: '#000000',
  },
}
SCSS
$custom: #323c97;
$custom-light: #7671b6;
$custom-dark: #000000;
JSON
{
  "hex": "#323c97",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 234.059,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.14777,
    "h": 273.1
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#323C97
secondary
#B9B16C
accent
#CC4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323C97

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

Preview Lab → · Contrast checker → · Palette generator →

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