#323C8F#323C8F

#323C8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.136 H 273.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#323C8F
RGBrgb(50, 60, 143)
HSLhsl(234, 48%, 38%)
HSVhsv(234, 65%, 56%)
CMYKcmyk(65%, 58%, 0%, 43.9%)
CIE-LABlab(29.14, 23.53, -47.36)
CIE-LCHlch(29.14, 52.88, 296.41°)
OKLaboklab(39.83% 0.0079 -0.1361)
OKLCHoklch(39.83% 0.136 273.3)
XYZxyz(7.8875, 5.8923, 26.7029)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C8F #8F8532
analogous
#326B8F #323C8F #56328F
triadic
#323C8F #8F323C #3C8F32
tetradic
#323C8F #8F326B #8F8532 #328F56
square
#323C8F #8F326B #8F8532 #328F56
split-complementary
#323C8F #8F5632 #6B8F32
monochromatic
#121634 #222962 #323C8F #424FBC #6F79CD

Accessibility & contrast

On white

9.64
#323C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#323C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C8F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C8F#FFFFFF#000000##FFFFFF
##323C8F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323c8f;
/* rgb */ color: rgb(50, 60, 143);
/* oklch */ color: oklch(39.8% 0.136 273.3);
Tailwind
colors: {
  custom: {
    50: '#7571b0',
    500: '#323c8f',
    950: '#000000',
  },
}
SCSS
$custom: #323c8f;
$custom-light: #7571b0;
$custom-dark: #000000;
JSON
{
  "hex": "#323c8f",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 233.548,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.13638,
    "h": 273.3
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#323C8F
secondary
#B4AC68
accent
#C950D8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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