#323A9A#323A9A

#323A9A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.155 H 273.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#323A9A
RGBrgb(50, 58, 154)
HSLhsl(235, 51%, 40%)
HSVhsv(235, 68%, 60%)
CMYKcmyk(67.5%, 62.3%, 0%, 39.6%)
CIE-LABlab(29.50, 28.84, -53.50)
CIE-LCHlch(29.50, 60.78, 298.33°)
OKLaboklab(40.38% 0.0097 -0.1542)
OKLCHoklch(40.38% 0.155 273.6)
XYZxyz(8.6592, 6.0365, 31.2744)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A9A #9A9232
analogous
#326E9A #323A9A #5E329A
triadic
#323A9A #9A323A #3A9A32
tetradic
#323A9A #9A326E #9A9232 #329A5E
square
#323A9A #9A326E #9A9232 #329A5E
split-complementary
#323A9A #9A5E32 #6E9A32
monochromatic
#14173E #23296C #323A9A #4650C3 #747CD2

Accessibility & contrast

On white

9.51
#323A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#323A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A9A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A9A#FFFFFF#000000##FFFFFF
##323A9A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323a9a;
/* rgb */ color: rgb(50, 58, 154);
/* oklch */ color: oklch(40.4% 0.155 273.6);
Tailwind
colors: {
  custom: {
    50: '#7770b9',
    500: '#323a9a',
    950: '#000000',
  },
}
SCSS
$custom: #323a9a;
$custom-light: #7770b9;
$custom-dark: #000000;
JSON
{
  "hex": "#323a9a",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 154
  },
  "hsl": {
    "h": 235.385,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.40382,
    "c": 0.15452,
    "h": 273.6
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#323A9A
secondary
#BAB46E
accent
#D04DDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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