#323D8F#323D8F

#323D8F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.135 H 273.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#323D8F
RGBrgb(50, 61, 143)
HSLhsl(233, 48%, 38%)
HSVhsv(233, 65%, 56%)
CMYKcmyk(65%, 57.3%, 0%, 43.9%)
CIE-LABlab(29.41, 22.85, -46.93)
CIE-LCHlch(29.41, 52.20, 295.97°)
OKLaboklab(40.03% 0.007 -0.1349)
OKLCHoklch(40.03% 0.135 273)
XYZxyz(7.9404, 5.9981, 26.7206)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D8F #8F8432
analogous
#326C8F #323D8F #55328F
triadic
#323D8F #8F323D #3D8F32
tetradic
#323D8F #8F326C #8F8432 #328F55
square
#323D8F #8F326C #8F8432 #328F55
split-complementary
#323D8F #8F5532 #6C8F32
monochromatic
#121634 #222A62 #323D8F #4250BC #6F7ACD

Accessibility & contrast

On white

9.55
#323D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#323D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D8F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D8F#FFFFFF#000000##FFFFFF
##323D8F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323d8f;
/* rgb */ color: rgb(50, 61, 143);
/* oklch */ color: oklch(40.0% 0.135 273.0);
Tailwind
colors: {
  custom: {
    50: '#7572b0',
    500: '#323d8f',
    950: '#000000',
  },
}
SCSS
$custom: #323d8f;
$custom-light: #7572b0;
$custom-dark: #000000;
JSON
{
  "hex": "#323d8f",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 232.903,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40033,
    "c": 0.13504,
    "h": 273
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#323D8F
secondary
#B4AB68
accent
#C850D8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #323D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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