#323D78#323D78

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

Color values

HEX#323D78
RGBrgb(50, 61, 120)
HSLhsl(231, 41%, 33%)
HSVhsv(231, 58%, 47%)
CMYKcmyk(58.3%, 49.2%, 0%, 52.9%)
CIE-LABlab(27.77, 14.48, -35.25)
CIE-LCHlch(27.77, 38.10, 292.33°)
OKLaboklab(38.27% 0.005 -0.1005)
OKLCHoklch(38.27% 0.101 272.8)
XYZxyz(6.3732, 5.3712, 18.4666)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D78 #786D32
analogous
#326078 #323D78 #4A3278
triadic
#323D78 #78323D #3D7832
tetradic
#323D78 #783260 #786D32 #32784A
square
#323D78 #783260 #786D32 #32784A
split-complementary
#323D78 #784A32 #607832
monochromatic
#0E1122 #20274D #323D78 #4453A3 #6573BF

Accessibility & contrast

On white

10.12
#323D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#323D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D78
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D78#FFFFFF#000000##FFFFFF
##323D781.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457A
Deuteranopia (green-blind)
#183F77
Tritanopia (blue-blind)
#0A4A54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #323d78;
/* rgb */ color: rgb(50, 61, 120);
/* oklch */ color: oklch(38.3% 0.101 272.8);
Tailwind
colors: {
  custom: {
    50: '#70729f',
    500: '#323d78',
    950: '#000000',
  },
}
SCSS
$custom: #323d78;
$custom-light: #70729f;
$custom-dark: #000000;
JSON
{
  "hex": "#323d78",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 120
  },
  "hsl": {
    "h": 230.571,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.10062,
    "h": 272.8
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#323D78
secondary
#A79B5F
accent
#BE57D1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #323D78

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

Preview Lab → · Contrast checker → · Palette generator →

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