#323F8D#323F8D

#323F8D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.129 H 272.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#323F8D
RGBrgb(50, 63, 141)
HSLhsl(231, 48%, 37%)
HSVhsv(231, 65%, 55%)
CMYKcmyk(64.5%, 55.3%, 0%, 44.7%)
CIE-LABlab(29.80, 20.78, -45.06)
CIE-LCHlch(29.80, 49.62, 294.75°)
OKLaboklab(40.28% 0.0049 -0.1293)
OKLCHoklch(40.28% 0.129 272.2)
XYZxyz(7.8990, 6.1555, 25.9660)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F8D #8D8032
analogous
#326C8D #323F8D #53328D
triadic
#323F8D #8D323F #3F8D32
tetradic
#323F8D #8D326C #8D8032 #328D53
square
#323F8D #8D326C #8D8032 #328D53
split-complementary
#323F8D #8D5332 #6C8D32
monochromatic
#121733 #222B60 #323F8D #4253BA #6E7BCC

Accessibility & contrast

On white

9.41
#323F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#323F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F8D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F8D#FFFFFF#000000##FFFFFF
##323F8D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094A90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323f8d;
/* rgb */ color: rgb(50, 63, 141);
/* oklch */ color: oklch(40.3% 0.129 272.2);
Tailwind
colors: {
  custom: {
    50: '#7473af',
    500: '#323f8d',
    950: '#000000',
  },
}
SCSS
$custom: #323f8d;
$custom-light: #7473af;
$custom-dark: #000000;
JSON
{
  "hex": "#323f8d",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 231.429,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.12943,
    "h": 272.2
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#323F8D
secondary
#B3A868
accent
#C451D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #323F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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