#323892#323892

#323892 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.146 H 274.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#323892
RGBrgb(50, 56, 146)
HSLhsl(236, 49%, 38%)
HSVhsv(236, 66%, 57%)
CMYKcmyk(65.8%, 61.6%, 0%, 42.7%)
CIE-LABlab(28.33, 27.28, -50.52)
CIE-LCHlch(28.33, 57.42, 298.36°)
OKLaboklab(39.31% 0.0116 -0.1455)
OKLCHoklch(39.31% 0.146 274.6)
XYZxyz(7.9162, 5.5811, 27.8486)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323892 #928C32
analogous
#326892 #323892 #5C3292
triadic
#323892 #923238 #389232
tetradic
#323892 #923268 #928C32 #32925C
square
#323892 #923268 #928C32 #32925C
split-complementary
#323892 #925C32 #689232
monochromatic
#131537 #222764 #323892 #434ABF #7076CE

Accessibility & contrast

On white

9.92
#323892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#323892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323892
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323892#FFFFFF#000000##FFFFFF
##3238921.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323892;
/* rgb */ color: rgb(50, 56, 146);
/* oklch */ color: oklch(39.3% 0.146 274.6);
Tailwind
colors: {
  custom: {
    50: '#766eb3',
    500: '#323892',
    950: '#000000',
  },
}
SCSS
$custom: #323892;
$custom-light: #766eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#323892",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 236.25,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39308,
    "c": 0.14594,
    "h": 274.6
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#323892
secondary
#B6B16A
accent
#D04FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323892

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

Preview Lab → · Contrast checker → · Palette generator →

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