#323388#323388

#323388 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.138 H 276.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#323388
RGBrgb(50, 51, 136)
HSLhsl(239, 46%, 36%)
HSVhsv(239, 63%, 53%)
CMYKcmyk(63.2%, 62.5%, 0%, 46.7%)
CIE-LABlab(26.22, 27.00, -47.77)
CIE-LCHlch(26.22, 54.87, 299.48°)
OKLaboklab(37.5% 0.0166 -0.1374)
OKLCHoklch(37.5% 0.138 276.9)
XYZxyz(6.9417, 4.8228, 23.8529)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323388 #888732
analogous
#325E88 #323388 #5C3288
triadic
#323388 #883233 #338832
tetradic
#323388 #88325E #888732 #32885C
square
#323388 #88325E #888732 #32885C
split-complementary
#323388 #885C32 #5E8832
monochromatic
#11112F #22225B #323388 #4244B5 #6C6DC9

Accessibility & contrast

On white

10.69
#323388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#323388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323388
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323388#FFFFFF#000000##FFFFFF
##3233881.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #323388;
/* rgb */ color: rgb(50, 51, 136);
/* oklch */ color: oklch(37.5% 0.138 276.9);
Tailwind
colors: {
  custom: {
    50: '#746bab',
    500: '#323388',
    950: '#000000',
  },
}
SCSS
$custom: #323388;
$custom-light: #746bab;
$custom-dark: #000000;
JSON
{
  "hex": "#323388",
  "rgb": {
    "r": 50,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 239.302,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37496,
    "c": 0.13843,
    "h": 276.9
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#323388
secondary
#B0B065
accent
#D452D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #323388

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

Preview Lab → · Contrast checker → · Palette generator →

#323388 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva