#323495#323495

#323495 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.155 H 275.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#323495
RGBrgb(50, 52, 149)
HSLhsl(239, 50%, 39%)
HSVhsv(239, 66%, 58%)
CMYKcmyk(66.4%, 65.1%, 0%, 41.6%)
CIE-LABlab(27.58, 30.96, -53.59)
CIE-LCHlch(27.58, 61.89, 300.02°)
OKLaboklab(38.84% 0.0149 -0.1545)
OKLCHoklch(38.84% 0.155 275.5)
XYZxyz(7.9664, 5.3033, 29.0318)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323495 #959332
analogous
#326695 #323495 #623295
triadic
#323495 #953234 #349532
tetradic
#323495 #953266 #959332 #329562
square
#323495 #953266 #959332 #329562
split-complementary
#323495 #956232 #669532
monochromatic
#131439 #232467 #323495 #4446C0 #7274D0

Accessibility & contrast

On white

10.19
#323495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323495
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323495#FFFFFF#000000##FFFFFF
##3234951.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #323495;
/* rgb */ color: rgb(50, 52, 149);
/* oklch */ color: oklch(38.8% 0.155 275.5);
Tailwind
colors: {
  custom: {
    50: '#766cb5',
    500: '#323495',
    950: '#000000',
  },
}
SCSS
$custom: #323495;
$custom-light: #766cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#323495",
  "rgb": {
    "r": 50,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 238.788,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38837,
    "c": 0.15523,
    "h": 275.5
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#323495
secondary
#B8B66B
accent
#D64FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323495

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

Preview Lab → · Contrast checker → · Palette generator →

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