#323F8A#323F8A

#323F8A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.125 H 272.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#323F8A
RGBrgb(50, 63, 138)
HSLhsl(231, 47%, 37%)
HSVhsv(231, 64%, 54%)
CMYKcmyk(63.8%, 54.3%, 0%, 45.9%)
CIE-LABlab(29.58, 19.68, -43.56)
CIE-LCHlch(29.58, 47.80, 294.31°)
OKLaboklab(40.05% 0.0047 -0.1249)
OKLCHoklch(40.05% 0.125 272.1)
XYZxyz(7.6788, 6.0675, 24.8063)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F8A #8A7D32
analogous
#326B8A #323F8A #51328A
triadic
#323F8A #8A323F #3F8A32
tetradic
#323F8A #8A326B #8A7D32 #328A51
square
#323F8A #8A326B #8A7D32 #328A51
split-complementary
#323F8A #8A5132 #6B8A32
monochromatic
#111630 #222A5D #323F8A #4254B7 #6C7ACA

Accessibility & contrast

On white

9.49
#323F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323F8A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F8A#FFFFFF#000000##FFFFFF
##323F8A1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323f8a;
/* rgb */ color: rgb(50, 63, 138);
/* oklch */ color: oklch(40.0% 0.125 272.1);
Tailwind
colors: {
  custom: {
    50: '#7373ad',
    500: '#323f8a',
    950: '#000000',
  },
}
SCSS
$custom: #323f8a;
$custom-light: #7373ad;
$custom-dark: #000000;
JSON
{
  "hex": "#323f8a",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 231.136,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.12503,
    "h": 272.1
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#323F8A
secondary
#B2A666
accent
#C351D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #323F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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