#323F8F#323F8F

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

Color values

HEX#323F8F
RGBrgb(50, 63, 143)
HSLhsl(232, 48%, 38%)
HSVhsv(232, 65%, 56%)
CMYKcmyk(65%, 55.9%, 0%, 43.9%)
CIE-LABlab(29.95, 21.51, -46.05)
CIE-LCHlch(29.95, 50.82, 295.04°)
OKLaboklab(40.44% 0.005 -0.1322)
OKLCHoklch(40.44% 0.132 272.2)
XYZxyz(8.0492, 6.2156, 26.7568)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F8F #8F8232
analogous
#326D8F #323F8F #53328F
triadic
#323F8F #8F323F #3F8F32
tetradic
#323F8F #8F326D #8F8232 #328F53
square
#323F8F #8F326D #8F8232 #328F53
split-complementary
#323F8F #8F5332 #6D8F32
monochromatic
#121734 #222B62 #323F8F #4253BC #6F7CCD

Accessibility & contrast

On white

9.36
#323F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#323F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F8F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F8F#FFFFFF#000000##FFFFFF
##323F8F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034B92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #323f8f;
/* rgb */ color: rgb(50, 63, 143);
/* oklch */ color: oklch(40.4% 0.132 272.2);
Tailwind
colors: {
  custom: {
    50: '#7473b0',
    500: '#323f8f',
    950: '#000000',
  },
}
SCSS
$custom: #323f8f;
$custom-light: #7473b0;
$custom-dark: #000000;
JSON
{
  "hex": "#323f8f",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 231.613,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.13234,
    "h": 272.2
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#323F8F
secondary
#B4AA68
accent
#C550D8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #323F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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