#323F88#323F88

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

Color values

HEX#323F88
RGBrgb(50, 63, 136)
HSLhsl(231, 46%, 36%)
HSVhsv(231, 63%, 53%)
CMYKcmyk(63.2%, 53.7%, 0%, 46.7%)
CIE-LABlab(29.44, 18.94, -42.56)
CIE-LCHlch(29.44, 46.58, 293.99°)
OKLaboklab(39.89% 0.0045 -0.122)
OKLCHoklch(39.89% 0.122 272.1)
XYZxyz(7.5354, 6.0101, 24.0507)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F88 #887B32
analogous
#326A88 #323F88 #503288
triadic
#323F88 #88323F #3F8832
tetradic
#323F88 #88326A #887B32 #328850
square
#323F88 #88326A #887B32 #328850
split-complementary
#323F88 #885032 #6A8832
monochromatic
#11162F #222A5B #323F88 #4254B5 #6C7AC9

Accessibility & contrast

On white

9.54
#323F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#323F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F88
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F88#FFFFFF#000000##FFFFFF
##323F881.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323f88;
/* rgb */ color: rgb(50, 63, 136);
/* oklch */ color: oklch(39.9% 0.122 272.1);
Tailwind
colors: {
  custom: {
    50: '#7373ab',
    500: '#323f88',
    950: '#000000',
  },
}
SCSS
$custom: #323f88;
$custom-light: #7373ab;
$custom-dark: #000000;
JSON
{
  "hex": "#323f88",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 136
  },
  "hsl": {
    "h": 230.93,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39891,
    "c": 0.12206,
    "h": 272.1
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323F88

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

Preview Lab → · Contrast checker → · Palette generator →

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