#323CA0#323CA0

#323CA0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.160 H 272.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#323CA0
RGBrgb(50, 60, 160)
HSLhsl(235, 52%, 41%)
HSVhsv(235, 69%, 63%)
CMYKcmyk(68.8%, 62.5%, 0%, 37.3%)
CIE-LABlab(30.51, 29.70, -55.50)
CIE-LCHlch(30.51, 62.95, 298.15°)
OKLaboklab(41.28% 0.0078 -0.1601)
OKLCHoklch(41.28% 0.16 272.8)
XYZxyz(9.2743, 6.4470, 34.0065)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CA0 #A09632
analogous
#3273A0 #323CA0 #5F32A0
triadic
#323CA0 #A0323C #3CA032
tetradic
#323CA0 #A03273 #A09632 #32A05F
square
#323CA0 #A03273 #A09632 #32A05F
split-complementary
#323CA0 #A05F32 #73A032
monochromatic
#151943 #232B71 #323CA0 #4954C6 #7880D5

Accessibility & contrast

On white

9.17
#323CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#323CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CA0
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CA0#FFFFFF#000000##FFFFFF
##323CA01.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323ca0;
/* rgb */ color: rgb(50, 60, 160);
/* oklch */ color: oklch(41.3% 0.160 272.8);
Tailwind
colors: {
  custom: {
    50: '#7871bd',
    500: '#323ca0',
    950: '#000000',
  },
}
SCSS
$custom: #323ca0;
$custom-light: #7871bd;
$custom-dark: #000000;
JSON
{
  "hex": "#323ca0",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 234.545,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.16026,
    "h": 272.8
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#323CA0
secondary
#BDB671
accent
#CF4CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323CA0

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

Preview Lab → · Contrast checker → · Palette generator →

#323CA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva