#323B97#323B97

#323B97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.149 H 273.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#323B97
RGBrgb(50, 59, 151)
HSLhsl(235, 50%, 39%)
HSVhsv(235, 67%, 59%)
CMYKcmyk(66.9%, 60.9%, 0%, 40.8%)
CIE-LABlab(29.51, 27.10, -51.66)
CIE-LCHlch(29.51, 58.34, 297.68°)
OKLaboklab(40.31% 0.0089 -0.1488)
OKLCHoklch(40.31% 0.149 273.4)
XYZxyz(8.4634, 6.0397, 29.9919)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B97 #978E32
analogous
#326E97 #323B97 #5B3297
triadic
#323B97 #97323B #3B9732
tetradic
#323B97 #97326E #978E32 #32975B
square
#323B97 #97326E #978E32 #32975B
split-complementary
#323B97 #975B32 #6E9732
monochromatic
#14173B #232969 #323B97 #4550C1 #737BD1

Accessibility & contrast

On white

9.51
#323B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#323B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B97
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B97#FFFFFF#000000##FFFFFF
##323B971.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323b97;
/* rgb */ color: rgb(50, 59, 151);
/* oklch */ color: oklch(40.3% 0.149 273.4);
Tailwind
colors: {
  custom: {
    50: '#7671b6',
    500: '#323b97',
    950: '#000000',
  },
}
SCSS
$custom: #323b97;
$custom-light: #7671b6;
$custom-dark: #000000;
JSON
{
  "hex": "#323b97",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 234.653,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4031,
    "c": 0.14906,
    "h": 273.4
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#323B97
secondary
#B9B26C
accent
#CD4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323B97

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

Preview Lab → · Contrast checker → · Palette generator →

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