#323D79#323D79

#323D79 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.102 H 272.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#323D79
RGBrgb(50, 61, 121)
HSLhsl(231, 42%, 34%)
HSVhsv(231, 59%, 47%)
CMYKcmyk(58.7%, 49.6%, 0%, 52.5%)
CIE-LABlab(27.83, 14.84, -35.77)
CIE-LCHlch(27.83, 38.73, 292.53°)
OKLaboklab(38.35% 0.0051 -0.102)
OKLCHoklch(38.35% 0.102 272.9)
XYZxyz(6.4342, 5.3956, 18.7879)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D79 #796E32
analogous
#326079 #323D79 #4A3279
triadic
#323D79 #79323D #3D7932
tetradic
#323D79 #793260 #796E32 #32794A
square
#323D79 #793260 #796E32 #32794A
split-complementary
#323D79 #794A32 #607932
monochromatic
#0E1122 #20274E #323D79 #4453A4 #6674C0

Accessibility & contrast

On white

10.10
#323D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#323D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D79
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D79#FFFFFF#000000##FFFFFF
##323D791.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#163F78
Tritanopia (blue-blind)
#084A55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #323d79;
/* rgb */ color: rgb(50, 61, 121);
/* oklch */ color: oklch(38.3% 0.102 272.9);
Tailwind
colors: {
  custom: {
    50: '#7072a0',
    500: '#323d79',
    950: '#000000',
  },
}
SCSS
$custom: #323d79;
$custom-light: #7072a0;
$custom-dark: #000000;
JSON
{
  "hex": "#323d79",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 230.704,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38345,
    "c": 0.10217,
    "h": 272.9
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#323D79
secondary
#A79C5F
accent
#BE56D1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #323D79

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

Preview Lab → · Contrast checker → · Palette generator →

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