#323C8D#323C8D

#323C8D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.133 H 273.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#323C8D
RGBrgb(50, 60, 141)
HSLhsl(233, 48%, 37%)
HSVhsv(233, 65%, 55%)
CMYKcmyk(64.5%, 57.4%, 0%, 44.7%)
CIE-LABlab(28.99, 22.80, -46.38)
CIE-LCHlch(28.99, 51.68, 296.17°)
OKLaboklab(39.67% 0.0079 -0.1333)
OKLCHoklch(39.67% 0.133 273.4)
XYZxyz(7.7374, 5.8323, 25.9121)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C8D #8D8332
analogous
#32698D #323C8D #56328D
triadic
#323C8D #8D323C #3C8D32
tetradic
#323C8D #8D3269 #8D8332 #328D56
square
#323C8D #8D3269 #8D8332 #328D56
split-complementary
#323C8D #8D5632 #698D32
monochromatic
#121633 #222960 #323C8D #424FBA #6E78CC

Accessibility & contrast

On white

9.69
#323C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323C8D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C8D#FFFFFF#000000##FFFFFF
##323C8D1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323c8d;
/* rgb */ color: rgb(50, 60, 141);
/* oklch */ color: oklch(39.7% 0.133 273.4);
Tailwind
colors: {
  custom: {
    50: '#7471af',
    500: '#323c8d',
    950: '#000000',
  },
}
SCSS
$custom: #323c8d;
$custom-light: #7471af;
$custom-dark: #000000;
JSON
{
  "hex": "#323c8d",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 233.407,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39669,
    "c": 0.13349,
    "h": 273.4
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#323C8D
secondary
#B3AB68
accent
#C851D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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