#323C8E#323C8E

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

Color values

HEX#323C8E
RGBrgb(50, 60, 142)
HSLhsl(233, 48%, 38%)
HSVhsv(233, 65%, 56%)
CMYKcmyk(64.8%, 57.7%, 0%, 44.3%)
CIE-LABlab(29.06, 23.16, -46.87)
CIE-LCHlch(29.06, 52.28, 296.30°)
OKLaboklab(39.75% 0.0079 -0.1347)
OKLCHoklch(39.75% 0.135 273.4)
XYZxyz(7.8121, 5.8622, 26.3058)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C8E #8E8432
analogous
#326A8E #323C8E #56328E
triadic
#323C8E #8E323C #3C8E32
tetradic
#323C8E #8E326A #8E8432 #328E56
square
#323C8E #8E326A #8E8432 #328E56
split-complementary
#323C8E #8E5632 #6A8E32
monochromatic
#121633 #222961 #323C8E #424FBB #6E79CC

Accessibility & contrast

On white

9.67
#323C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#323C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C8E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C8E#FFFFFF#000000##FFFFFF
##323C8E1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323c8e;
/* rgb */ color: rgb(50, 60, 142);
/* oklch */ color: oklch(39.8% 0.135 273.4);
Tailwind
colors: {
  custom: {
    50: '#7471b0',
    500: '#323c8e',
    950: '#000000',
  },
}
SCSS
$custom: #323c8e;
$custom-light: #7471b0;
$custom-dark: #000000;
JSON
{
  "hex": "#323c8e",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 233.478,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39751,
    "c": 0.13494,
    "h": 273.4
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#323C8E
secondary
#B4AC68
accent
#C950D8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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