#323784#323784

#323784 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.127 H 275.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#323784
RGBrgb(50, 55, 132)
HSLhsl(236, 45%, 36%)
HSVhsv(236, 62%, 52%)
CMYKcmyk(62.1%, 58.3%, 0%, 48.2%)
CIE-LABlab(26.95, 22.90, -44.09)
CIE-LCHlch(26.95, 49.68, 297.44°)
OKLaboklab(37.93% 0.0127 -0.1266)
OKLCHoklch(37.93% 0.127 275.7)
XYZxyz(6.8451, 5.0759, 22.4444)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323784 #847F32
analogous
#326084 #323784 #563284
triadic
#323784 #843237 #378432
tetradic
#323784 #843260 #847F32 #328456
square
#323784 #843260 #847F32 #328456
split-complementary
#323784 #845632 #608432
monochromatic
#10122B #212558 #323784 #4349B0 #6A70C7

Accessibility & contrast

On white

10.42
#323784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#323784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323784
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323784#FFFFFF#000000##FFFFFF
##3237841.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323784;
/* rgb */ color: rgb(50, 55, 132);
/* oklch */ color: oklch(37.9% 0.127 275.7);
Tailwind
colors: {
  custom: {
    50: '#736da8',
    500: '#323784',
    950: '#000000',
  },
}
SCSS
$custom: #323784;
$custom-light: #736da8;
$custom-dark: #000000;
JSON
{
  "hex": "#323784",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 236.341,
    "s": 45.055,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37933,
    "c": 0.12722,
    "h": 275.7
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#323784
secondary
#AEAA64
accent
#CD53D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323784

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

Preview Lab → · Contrast checker → · Palette generator →

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