#323285#323285

#323285 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.136 H 277.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#323285
RGBrgb(50, 50, 133)
HSLhsl(240, 45%, 36%)
HSVhsv(240, 62%, 52%)
CMYKcmyk(62.4%, 62.4%, 0%, 47.8%)
CIE-LABlab(25.72, 26.60, -46.71)
CIE-LCHlch(25.72, 53.75, 299.65°)
OKLaboklab(37.05% 0.0177 -0.1343)
OKLCHoklch(37.05% 0.136 277.5)
XYZxyz(6.6883, 4.6523, 22.7313)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323285 #858532
analogous
#325B85 #323285 #5B3285
triadic
#323285 #853232 #328532
tetradic
#323285 #85325B #858532 #32855B
square
#323285 #85325B #858532 #32855B
split-complementary
#323285 #855B32 #5B8532
monochromatic
#11112C #212159 #323285 #4343B1 #6A6AC7

Accessibility & contrast

On white

10.88
#323285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#323285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323285
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323285#FFFFFF#000000##FFFFFF
##3232851.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #323285;
/* rgb */ color: rgb(50, 50, 133);
/* oklch */ color: oklch(37.0% 0.136 277.5);
Tailwind
colors: {
  custom: {
    50: '#736aa9',
    500: '#323285',
    950: '#000000',
  },
}
SCSS
$custom: #323285;
$custom-light: #736aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#323285",
  "rgb": {
    "r": 50,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 240,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37047,
    "c": 0.1355,
    "h": 277.5
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#323285
secondary
#AFAF64
accent
#D553D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #323285

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

Preview Lab → · Contrast checker → · Palette generator →

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