#323D94#323D94

#323D94 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.142 H 272.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#323D94
RGBrgb(50, 61, 148)
HSLhsl(233, 49%, 39%)
HSVhsv(233, 66%, 58%)
CMYKcmyk(66.2%, 58.8%, 0%, 42%)
CIE-LABlab(29.80, 24.68, -49.37)
CIE-LCHlch(29.80, 55.19, 296.56°)
OKLaboklab(40.45% 0.0071 -0.142)
OKLCHoklch(40.45% 0.142 272.8)
XYZxyz(8.3276, 6.1530, 28.7600)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D94 #948932
analogous
#326E94 #323D94 #583294
triadic
#323D94 #94323D #3D9432
tetradic
#323D94 #94326E #948932 #329458
square
#323D94 #94326E #948932 #329458
split-complementary
#323D94 #945832 #6E9432
monochromatic
#131739 #232A66 #323D94 #4451C0 #717CCF

Accessibility & contrast

On white

9.41
#323D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#323D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D94
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D94#FFFFFF#000000##FFFFFF
##323D941.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323d94;
/* rgb */ color: rgb(50, 61, 148);
/* oklch */ color: oklch(40.4% 0.142 272.8);
Tailwind
colors: {
  custom: {
    50: '#7672b4',
    500: '#323d94',
    950: '#000000',
  },
}
SCSS
$custom: #323d94;
$custom-light: #7672b4;
$custom-dark: #000000;
JSON
{
  "hex": "#323d94",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 233.265,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40445,
    "c": 0.14222,
    "h": 272.8
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#323D94
secondary
#B7AE6B
accent
#CA4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #323D94

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

Preview Lab → · Contrast checker → · Palette generator →

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