#323E89#323E89

#323E89 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.125 H 272.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#323E89
RGBrgb(50, 62, 137)
HSLhsl(232, 47%, 37%)
HSVhsv(232, 64%, 54%)
CMYKcmyk(63.5%, 54.7%, 0%, 46.3%)
CIE-LABlab(29.23, 19.99, -43.51)
CIE-LCHlch(29.23, 47.88, 294.67°)
OKLaboklab(39.76% 0.0056 -0.1248)
OKLCHoklch(39.76% 0.125 272.6)
XYZxyz(7.5519, 5.9289, 24.4085)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323E89 #897D32
analogous
#326A89 #323E89 #523289
triadic
#323E89 #89323E #3E8932
tetradic
#323E89 #89326A #897D32 #328952
square
#323E89 #89326A #897D32 #328952
split-complementary
#323E89 #895232 #6A8932
monochromatic
#11152F #222A5C #323E89 #4252B6 #6C79C9

Accessibility & contrast

On white

9.61
#323E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#323E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323E89
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323E89#FFFFFF#000000##FFFFFF
##323E891.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E498C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323e89;
/* rgb */ color: rgb(50, 62, 137);
/* oklch */ color: oklch(39.8% 0.125 272.6);
Tailwind
colors: {
  custom: {
    50: '#7373ac',
    500: '#323e89',
    950: '#000000',
  },
}
SCSS
$custom: #323e89;
$custom-light: #7373ac;
$custom-dark: #000000;
JSON
{
  "hex": "#323e89",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 231.724,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3976,
    "c": 0.12492,
    "h": 272.6
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#323E89
secondary
#B1A766
accent
#C452D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #323E89

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

Preview Lab → · Contrast checker → · Palette generator →

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