#323CA4#323CA4

#323CA4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.166 H 272.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#323CA4
RGBrgb(50, 60, 164)
HSLhsl(235, 53%, 42%)
HSVhsv(235, 70%, 64%)
CMYKcmyk(69.5%, 63.4%, 0%, 35.7%)
CIE-LABlab(30.85, 31.14, -57.36)
CIE-LCHlch(30.85, 65.27, 298.50°)
OKLaboklab(41.64% 0.0076 -0.1655)
OKLCHoklch(41.64% 0.166 272.6)
XYZxyz(9.6298, 6.5893, 35.8791)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CA4 #A49A32
analogous
#3275A4 #323CA4 #6132A4
triadic
#323CA4 #A4323C #3CA432
tetradic
#323CA4 #A43275 #A49A32 #32A461
square
#323CA4 #A43275 #A49A32 #32A461
split-complementary
#323CA4 #A46132 #75A432
monochromatic
#151A46 #242B75 #323CA4 #4B56C8 #7A82D6

Accessibility & contrast

On white

9.06
#323CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#323CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CA4
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CA4#FFFFFF#000000##FFFFFF
##323CA41.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323ca4;
/* rgb */ color: rgb(50, 60, 164);
/* oklch */ color: oklch(41.6% 0.166 272.6);
Tailwind
colors: {
  custom: {
    50: '#7971c0',
    500: '#323ca4',
    950: '#000000',
  },
}
SCSS
$custom: #323ca4;
$custom-light: #7971c0;
$custom-dark: #000000;
JSON
{
  "hex": "#323ca4",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 234.737,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41638,
    "c": 0.16571,
    "h": 272.6
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#323CA4
secondary
#BFB873
accent
#D04BDD
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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