#323979#323979

#323979 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.5% C 0.108 H 275.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#323979
RGBrgb(50, 57, 121)
HSLhsl(234, 42%, 34%)
HSVhsv(234, 59%, 47%)
CMYKcmyk(58.7%, 52.9%, 0%, 52.5%)
CIE-LABlab(26.69, 17.57, -37.61)
CIE-LCHlch(26.69, 41.51, 295.05°)
OKLaboklab(37.48% 0.0098 -0.1075)
OKLCHoklch(37.48% 0.108 275.2)
XYZxyz(6.2286, 4.9844, 18.7193)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323979 #797232
analogous
#325C79 #323979 #4E3279
triadic
#323979 #793239 #397932
tetradic
#323979 #79325C #797232 #32794E
square
#323979 #79325C #797232 #32794E
split-complementary
#323979 #794E32 #5C7932
monochromatic
#0E1022 #20254E #323979 #444DA4 #666FC0

Accessibility & contrast

On white

10.52
#323979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#323979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323979
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323979#FFFFFF#000000##FFFFFF
##3239791.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#0B3C78
Tritanopia (blue-blind)
#094753
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #323979;
/* rgb */ color: rgb(50, 57, 121);
/* oklch */ color: oklch(37.5% 0.108 275.2);
Tailwind
colors: {
  custom: {
    50: '#716fa0',
    500: '#323979',
    950: '#000000',
  },
}
SCSS
$custom: #323979;
$custom-light: #716fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#323979",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 234.085,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3748,
    "c": 0.10793,
    "h": 275.2
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#323979
secondary
#A7A05F
accent
#C556D1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #323979

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

Preview Lab → · Contrast checker → · Palette generator →

#323979 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva