#323AA6#323AA6

#323AA6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.171 H 273.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#323AA6
RGBrgb(50, 58, 166)
HSLhsl(236, 54%, 42%)
HSVhsv(236, 70%, 65%)
CMYKcmyk(69.9%, 65.1%, 0%, 34.9%)
CIE-LABlab(30.54, 33.14, -59.08)
CIE-LCHlch(30.54, 67.74, 299.29°)
OKLaboklab(41.46% 0.009 -0.1706)
OKLCHoklch(41.46% 0.171 273)
XYZxyz(9.7091, 6.4565, 36.8036)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AA6 #A69E32
analogous
#3274A6 #323AA6 #6432A6
triadic
#323AA6 #A6323A #3AA632
tetradic
#323AA6 #A63274 #A69E32 #32A664
square
#323AA6 #A63274 #A69E32 #32A664
split-complementary
#323AA6 #A66432 #74A632
monochromatic
#161948 #242A77 #323AA6 #4C55C9 #7B81D7

Accessibility & contrast

On white

9.16
#323AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323AA6
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AA6#FFFFFF#000000##FFFFFF
##323AA61.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323aa6;
/* rgb */ color: rgb(50, 58, 166);
/* oklch */ color: oklch(41.5% 0.171 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a70c1',
    500: '#323aa6',
    950: '#000000',
  },
}
SCSS
$custom: #323aa6;
$custom-light: #7a70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#323aa6",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 235.862,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.17083,
    "h": 273
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#323AA6
secondary
#C0BB74
accent
#D34BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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