#323C83#323C83

#323C83 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.9% C 0.119 H 273.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#323C83
RGBrgb(50, 60, 131)
HSLhsl(233, 45%, 35%)
HSVhsv(233, 62%, 51%)
CMYKcmyk(61.8%, 54.2%, 0%, 48.6%)
CIE-LABlab(28.24, 19.15, -41.38)
CIE-LCHlch(28.24, 45.60, 294.83°)
OKLaboklab(38.88% 0.0073 -0.1185)
OKLCHoklch(38.88% 0.119 273.5)
XYZxyz(7.0266, 5.5480, 22.1689)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C83 #837932
analogous
#326483 #323C83 #513283
triadic
#323C83 #83323C #3C8332
tetradic
#323C83 #833264 #837932 #328351
square
#323C83 #833264 #837932 #328351
split-complementary
#323C83 #835132 #648332
monochromatic
#10132A #212857 #323C83 #4350AF #6975C6

Accessibility & contrast

On white

9.95
#323C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#323C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C83
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C83#FFFFFF#000000##FFFFFF
##323C831.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124686
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323c83;
/* rgb */ color: rgb(50, 60, 131);
/* oklch */ color: oklch(38.9% 0.119 273.5);
Tailwind
colors: {
  custom: {
    50: '#7271a8',
    500: '#323c83',
    950: '#000000',
  },
}
SCSS
$custom: #323c83;
$custom-light: #7271a8;
$custom-dark: #000000;
JSON
{
  "hex": "#323c83",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 232.593,
    "s": 44.751,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38876,
    "c": 0.11878,
    "h": 273.5
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#323C83
secondary
#AEA463
accent
#C553D4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #323C83

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

Preview Lab → · Contrast checker → · Palette generator →

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