#323CA1#323CA1

#323CA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.162 H 272.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#323CA1
RGBrgb(50, 60, 161)
HSLhsl(235, 53%, 41%)
HSVhsv(235, 69%, 63%)
CMYKcmyk(68.9%, 62.7%, 0%, 36.9%)
CIE-LABlab(30.60, 30.06, -55.97)
CIE-LCHlch(30.60, 63.53, 298.24°)
OKLaboklab(41.37% 0.0078 -0.1614)
OKLCHoklch(41.37% 0.162 272.8)
XYZxyz(9.3621, 6.4822, 34.4691)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CA1 #A19732
analogous
#3274A1 #323CA1 #6032A1
triadic
#323CA1 #A1323C #3CA132
tetradic
#323CA1 #A13274 #A19732 #32A160
square
#323CA1 #A13274 #A19732 #32A160
split-complementary
#323CA1 #A16032 #74A132
monochromatic
#151944 #232B72 #323CA1 #4A55C7 #7881D5

Accessibility & contrast

On white

9.14
#323CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#323CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CA1
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CA1#FFFFFF#000000##FFFFFF
##323CA11.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323ca1;
/* rgb */ color: rgb(50, 60, 161);
/* oklch */ color: oklch(41.4% 0.162 272.8);
Tailwind
colors: {
  custom: {
    50: '#7871be',
    500: '#323ca1',
    950: '#000000',
  },
}
SCSS
$custom: #323ca1;
$custom-light: #7871be;
$custom-dark: #000000;
JSON
{
  "hex": "#323ca1",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 234.595,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.16163,
    "h": 272.8
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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