#323889#323889

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

Color values

HEX#323889
RGBrgb(50, 56, 137)
HSLhsl(236, 47%, 37%)
HSVhsv(236, 64%, 54%)
CMYKcmyk(63.5%, 59.1%, 0%, 46.3%)
CIE-LABlab(27.61, 24.03, -46.14)
CIE-LCHlch(27.61, 52.02, 297.51°)
OKLaboklab(38.54% 0.0117 -0.1326)
OKLCHoklch(38.54% 0.133 275.1)
XYZxyz(7.2434, 5.3120, 24.3057)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323889 #898332
analogous
#326489 #323889 #583289
triadic
#323889 #893238 #388932
tetradic
#323889 #893264 #898332 #328958
square
#323889 #893264 #898332 #328958
split-complementary
#323889 #895832 #648932
monochromatic
#11132F #22265C #323889 #424AB6 #6C72C9

Accessibility & contrast

On white

10.18
#323889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323889
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323889#FFFFFF#000000##FFFFFF
##3238891.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #323889;
/* rgb */ color: rgb(50, 56, 137);
/* oklch */ color: oklch(38.5% 0.133 275.1);
Tailwind
colors: {
  custom: {
    50: '#746eac',
    500: '#323889',
    950: '#000000',
  },
}
SCSS
$custom: #323889;
$custom-light: #746eac;
$custom-dark: #000000;
JSON
{
  "hex": "#323889",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 235.862,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38544,
    "c": 0.13313,
    "h": 275.1
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323889

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

Preview Lab → · Contrast checker → · Palette generator →

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