#323C76#323C76

#323C76 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.099 H 273.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#323C76
RGBrgb(50, 60, 118)
HSLhsl(231, 40%, 33%)
HSVhsv(231, 58%, 46%)
CMYKcmyk(57.6%, 49.2%, 0%, 53.7%)
CIE-LABlab(27.35, 14.44, -34.66)
CIE-LCHlch(27.35, 37.55, 292.62°)
OKLaboklab(37.91% 0.0059 -0.0988)
OKLCHoklch(37.91% 0.099 273.4)
XYZxyz(6.2002, 5.2174, 17.8164)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C76 #766C32
analogous
#325E76 #323C76 #4A3276
triadic
#323C76 #76323C #3C7632
tetradic
#323C76 #76325E #766C32 #32764A
square
#323C76 #76325E #766C32 #32764A
split-complementary
#323C76 #764A32 #5E7632
monochromatic
#0E1020 #20264B #323C76 #4452A1 #6572BE

Accessibility & contrast

On white

10.28
#323C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#323C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C76
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C76#FFFFFF#000000##FFFFFF
##323C761.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214478
Deuteranopia (green-blind)
#183E75
Tritanopia (blue-blind)
#0D4953
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #323c76;
/* rgb */ color: rgb(50, 60, 118);
/* oklch */ color: oklch(37.9% 0.099 273.4);
Tailwind
colors: {
  custom: {
    50: '#70719e',
    500: '#323c76',
    950: '#000000',
  },
}
SCSS
$custom: #323c76;
$custom-light: #70719e;
$custom-dark: #000000;
JSON
{
  "hex": "#323c76",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 118
  },
  "hsl": {
    "h": 231.176,
    "s": 40.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3791,
    "c": 0.09897,
    "h": 273.4
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#323C76
secondary
#A59B5E
accent
#BF57D0
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #323C76

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

Preview Lab → · Contrast checker → · Palette generator →

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