#323F97#323F97

#323F97 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.144 H 272.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#323F97
RGBrgb(50, 63, 151)
HSLhsl(232, 50%, 39%)
HSVhsv(232, 67%, 59%)
CMYKcmyk(66.9%, 58.3%, 0%, 40.8%)
CIE-LABlab(30.56, 24.44, -49.96)
CIE-LCHlch(30.56, 55.62, 296.07°)
OKLaboklab(41.09% 0.0053 -0.1437)
OKLCHoklch(41.09% 0.144 272.1)
XYZxyz(8.6769, 6.4667, 30.0631)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F97 #978A32
analogous
#327297 #323F97 #583297
triadic
#323F97 #97323F #3F9732
tetradic
#323F97 #973272 #978A32 #329758
square
#323F97 #973272 #978A32 #329758
split-complementary
#323F97 #975832 #729732
monochromatic
#14193B #232C69 #323F97 #4555C1 #737FD1

Accessibility & contrast

On white

9.16
#323F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#323F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F97
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F97#FFFFFF#000000##FFFFFF
##323F971.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323f97;
/* rgb */ color: rgb(50, 63, 151);
/* oklch */ color: oklch(41.1% 0.144 272.1);
Tailwind
colors: {
  custom: {
    50: '#7673b6',
    500: '#323f97',
    950: '#000000',
  },
}
SCSS
$custom: #323f97;
$custom-light: #7673b6;
$custom-dark: #000000;
JSON
{
  "hex": "#323f97",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 232.277,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41089,
    "c": 0.14385,
    "h": 272.1
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#323F97
secondary
#B9AF6C
accent
#C84EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #323F97

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

Preview Lab → · Contrast checker → · Palette generator →

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