#323F89#323F89

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

Color values

HEX#323F89
RGBrgb(50, 63, 137)
HSLhsl(231, 47%, 37%)
HSVhsv(231, 64%, 54%)
CMYKcmyk(63.5%, 54%, 0%, 46.3%)
CIE-LABlab(29.51, 19.31, -43.06)
CIE-LCHlch(29.51, 47.19, 294.15°)
OKLaboklab(39.97% 0.0046 -0.1235)
OKLCHoklch(39.97% 0.124 272.1)
XYZxyz(7.6068, 6.0386, 24.4268)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F89 #897C32
analogous
#326B89 #323F89 #513289
triadic
#323F89 #89323F #3F8932
tetradic
#323F89 #89326B #897C32 #328951
square
#323F89 #89326B #897C32 #328951
split-complementary
#323F89 #895132 #6B8932
monochromatic
#11162F #222A5C #323F89 #4254B6 #6C7AC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##323F89#FFFFFF#000000##FFFFFF
##323F891.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)
#124A8C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323f89;
/* rgb */ color: rgb(50, 63, 137);
/* oklch */ color: oklch(40.0% 0.124 272.1);
Tailwind
colors: {
  custom: {
    50: '#7373ac',
    500: '#323f89',
    950: '#000000',
  },
}
SCSS
$custom: #323f89;
$custom-light: #7373ac;
$custom-dark: #000000;
JSON
{
  "hex": "#323f89",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 231.034,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.12355,
    "h": 272.1
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#323F89
secondary
#B1A666
accent
#C252D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #323F89

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

Preview Lab → · Contrast checker → · Palette generator →

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