#323DAB#323DAB

#323DAB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.174 H 272.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#323DAB
RGBrgb(50, 61, 171)
HSLhsl(235, 55%, 43%)
HSVhsv(235, 71%, 67%)
CMYKcmyk(70.8%, 64.3%, 0%, 32.9%)
CIE-LABlab(31.70, 33.01, -60.17)
CIE-LCHlch(31.70, 68.63, 298.75°)
OKLaboklab(42.45% 0.0065 -0.1738)
OKLCHoklch(42.45% 0.174 272.1)
XYZxyz(10.3323, 6.9549, 39.3181)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DAB #ABA032
analogous
#3279AB #323DAB #6332AB
triadic
#323DAB #AB323D #3DAB32
tetradic
#323DAB #AB3279 #ABA032 #32AB63
square
#323DAB #AB3279 #ABA032 #32AB63
split-complementary
#323DAB #AB6332 #79AB32
monochromatic
#161B4C #242C7C #323DAB #4F5ACB #7E86D9

Accessibility & contrast

On white

8.78
#323DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#323DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DAB
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DAB#FFFFFF#000000##FFFFFF
##323DAB1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323dab;
/* rgb */ color: rgb(50, 61, 171);
/* oklch */ color: oklch(42.4% 0.174 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b72c5',
    500: '#323dab',
    950: '#000000',
  },
}
SCSS
$custom: #323dab;
$custom-light: #7b72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#323dab",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 171
  },
  "hsl": {
    "h": 234.545,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.17389,
    "h": 272.1
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

primary
#323DAB
secondary
#C2BB77
accent
#D14ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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