#323498#323498

#323498 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.159 H 275.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#323498
RGBrgb(50, 52, 152)
HSLhsl(239, 50%, 40%)
HSVhsv(239, 67%, 60%)
CMYKcmyk(67.1%, 65.8%, 0%, 40.4%)
CIE-LABlab(27.85, 32.02, -54.99)
CIE-LCHlch(27.85, 63.63, 300.21°)
OKLaboklab(39.11% 0.0147 -0.1586)
OKLCHoklch(39.11% 0.159 275.3)
XYZxyz(8.2090, 5.4004, 30.3094)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323498 #989632
analogous
#326798 #323498 #633298
triadic
#323498 #983234 #349832
tetradic
#323498 #983267 #989632 #329863
square
#323498 #983267 #989632 #329863
split-complementary
#323498 #986332 #679832
monochromatic
#14143C #23246A #323498 #4548C2 #7375D1

Accessibility & contrast

On white

10.10
#323498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#323498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323498
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323498#FFFFFF#000000##FFFFFF
##3234981.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #323498;
/* rgb */ color: rgb(50, 52, 152);
/* oklch */ color: oklch(39.1% 0.159 275.3);
Tailwind
colors: {
  custom: {
    50: '#776cb7',
    500: '#323498',
    950: '#000000',
  },
}
SCSS
$custom: #323498;
$custom-light: #776cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#323498",
  "rgb": {
    "r": 50,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 238.824,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39112,
    "c": 0.15931,
    "h": 275.3
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

primary
#323498
secondary
#B9B86D
accent
#D74EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323498

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

Preview Lab → · Contrast checker → · Palette generator →

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