#323FAB#323FAB

#323FAB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.171 H 271.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#323FAB
RGBrgb(50, 63, 171)
HSLhsl(234, 55%, 43%)
HSVhsv(234, 71%, 67%)
CMYKcmyk(70.8%, 63.2%, 0%, 32.9%)
CIE-LABlab(32.20, 31.72, -59.37)
CIE-LCHlch(32.20, 67.31, 298.12°)
OKLaboklab(42.81% 0.0051 -0.1714)
OKLCHoklch(42.81% 0.171 271.7)
XYZxyz(10.4411, 7.1724, 39.3543)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FAB #AB9E32
analogous
#327BAB #323FAB #6132AB
triadic
#323FAB #AB323F #3FAB32
tetradic
#323FAB #AB327B #AB9E32 #32AB61
square
#323FAB #AB327B #AB9E32 #32AB61
split-complementary
#323FAB #AB6132 #7BAB32
monochromatic
#161C4C #242E7C #323FAB #4F5CCB #7E88D9

Accessibility & contrast

On white

8.63
#323FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#323FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FAB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FAB#FFFFFF#000000##FFFFFF
##323FAB1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #323fab;
/* rgb */ color: rgb(50, 63, 171);
/* oklch */ color: oklch(42.8% 0.171 271.7);
Tailwind
colors: {
  custom: {
    50: '#7a74c5',
    500: '#323fab',
    950: '#000000',
  },
}
SCSS
$custom: #323fab;
$custom-light: #7a74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#323fab",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 233.554,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42811,
    "c": 0.17146,
    "h": 271.7
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#323FAB
secondary
#C2BA77
accent
#CE4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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