#323C81#323C81

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

Color values

HEX#323C81
RGBrgb(50, 60, 129)
HSLhsl(232, 44%, 35%)
HSVhsv(232, 61%, 51%)
CMYKcmyk(61.2%, 53.5%, 0%, 49.4%)
CIE-LABlab(28.10, 18.42, -40.36)
CIE-LCHlch(28.10, 44.37, 294.53°)
OKLaboklab(38.72% 0.0072 -0.1156)
OKLCHoklch(38.72% 0.116 273.5)
XYZxyz(6.8924, 5.4943, 21.4619)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C81 #817732
analogous
#326381 #323C81 #4F3281
triadic
#323C81 #81323C #3C8132
tetradic
#323C81 #813263 #817732 #32814F
square
#323C81 #813263 #817732 #32814F
split-complementary
#323C81 #814F32 #638132
monochromatic
#101329 #212755 #323C81 #4351AD #6974C5

Accessibility & contrast

On white

10.00
#323C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#323C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C81
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C81#FFFFFF#000000##FFFFFF
##323C811.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154683
Deuteranopia (green-blind)
#023F80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #323c81;
/* rgb */ color: rgb(50, 60, 129);
/* oklch */ color: oklch(38.7% 0.116 273.5);
Tailwind
colors: {
  custom: {
    50: '#7271a6',
    500: '#323c81',
    950: '#000000',
  },
}
SCSS
$custom: #323c81;
$custom-light: #7271a6;
$custom-dark: #000000;
JSON
{
  "hex": "#323c81",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 232.405,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38723,
    "c": 0.11578,
    "h": 273.5
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#323C81
secondary
#ACA362
accent
#C454D4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #323C81

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

Preview Lab → · Contrast checker → · Palette generator →

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