#323D88#323D88

#323D88 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.125 H 273.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#323D88
RGBrgb(50, 61, 136)
HSLhsl(232, 46%, 36%)
HSVhsv(232, 63%, 53%)
CMYKcmyk(63.2%, 55.1%, 0%, 46.7%)
CIE-LABlab(28.88, 20.30, -43.45)
CIE-LCHlch(28.88, 47.96, 295.04°)
OKLaboklab(39.47% 0.0066 -0.1246)
OKLCHoklch(39.47% 0.125 273)
XYZxyz(7.4266, 5.7926, 24.0145)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D88 #887D32
analogous
#326888 #323D88 #523288
triadic
#323D88 #88323D #3D8832
tetradic
#323D88 #883268 #887D32 #328852
square
#323D88 #883268 #887D32 #328852
split-complementary
#323D88 #885232 #688832
monochromatic
#11152F #22295B #323D88 #4251B5 #6C78C9

Accessibility & contrast

On white

9.73
#323D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#323D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D88
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D88#FFFFFF#000000##FFFFFF
##323D881.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C488B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323d88;
/* rgb */ color: rgb(50, 61, 136);
/* oklch */ color: oklch(39.5% 0.125 273.0);
Tailwind
colors: {
  custom: {
    50: '#7372ab',
    500: '#323d88',
    950: '#000000',
  },
}
SCSS
$custom: #323d88;
$custom-light: #7372ab;
$custom-dark: #000000;
JSON
{
  "hex": "#323d88",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 136
  },
  "hsl": {
    "h": 232.326,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39474,
    "c": 0.12482,
    "h": 273
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#323D88
secondary
#B0A765
accent
#C552D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323D88

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

Preview Lab → · Contrast checker → · Palette generator →

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