#323888#323888

#323888 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.132 H 275.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#323888
RGBrgb(50, 56, 136)
HSLhsl(236, 46%, 36%)
HSVhsv(236, 63%, 53%)
CMYKcmyk(63.2%, 58.8%, 0%, 46.7%)
CIE-LABlab(27.53, 23.67, -45.65)
CIE-LCHlch(27.53, 51.42, 297.41°)
OKLaboklab(38.46% 0.0117 -0.1311)
OKLCHoklch(38.46% 0.132 275.1)
XYZxyz(7.1720, 5.2835, 23.9296)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323888 #888232
analogous
#326388 #323888 #573288
triadic
#323888 #883238 #388832
tetradic
#323888 #883263 #888232 #328857
square
#323888 #883263 #888232 #328857
split-complementary
#323888 #885732 #638832
monochromatic
#11132F #22265B #323888 #424AB5 #6C72C9

Accessibility & contrast

On white

10.21
#323888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#323888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323888
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323888#FFFFFF#000000##FFFFFF
##3238881.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #323888;
/* rgb */ color: rgb(50, 56, 136);
/* oklch */ color: oklch(38.5% 0.132 275.1);
Tailwind
colors: {
  custom: {
    50: '#736eab',
    500: '#323888',
    950: '#000000',
  },
}
SCSS
$custom: #323888;
$custom-light: #736eab;
$custom-dark: #000000;
JSON
{
  "hex": "#323888",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 136
  },
  "hsl": {
    "h": 235.814,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38461,
    "c": 0.13167,
    "h": 275.1
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#323888
secondary
#B0AB65
accent
#CD52D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323888

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

Preview Lab → · Contrast checker → · Palette generator →

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