#323AA2#323AA2

#323AA2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.165 H 273.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#323AA2
RGBrgb(50, 58, 162)
HSLhsl(236, 53%, 42%)
HSVhsv(236, 69%, 64%)
CMYKcmyk(69.1%, 64.2%, 0%, 36.5%)
CIE-LABlab(30.19, 31.72, -57.24)
CIE-LCHlch(30.19, 65.44, 298.99°)
OKLaboklab(41.1% 0.0093 -0.1652)
OKLCHoklch(41.1% 0.165 273.2)
XYZxyz(9.3479, 6.3120, 34.9011)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AA2 #A29A32
analogous
#3272A2 #323AA2 #6232A2
triadic
#323AA2 #A2323A #3AA232
tetradic
#323AA2 #A23272 #A29A32 #32A262
square
#323AA2 #A23272 #A29A32 #32A262
split-complementary
#323AA2 #A26232 #72A232
monochromatic
#151944 #242973 #323AA2 #4A53C7 #797FD6

Accessibility & contrast

On white

9.28
#323AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#323AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323AA2
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AA2#FFFFFF#000000##FFFFFF
##323AA21.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #323aa2;
/* rgb */ color: rgb(50, 58, 162);
/* oklch */ color: oklch(41.1% 0.165 273.2);
Tailwind
colors: {
  custom: {
    50: '#7970be',
    500: '#323aa2',
    950: '#000000',
  },
}
SCSS
$custom: #323aa2;
$custom-light: #7970be;
$custom-dark: #000000;
JSON
{
  "hex": "#323aa2",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 235.714,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41095,
    "c": 0.16546,
    "h": 273.2
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#323AA2
secondary
#BEB972
accent
#D24CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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