#323F8B#323F8B

#323F8B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.127 H 272.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#323F8B
RGBrgb(50, 63, 139)
HSLhsl(231, 47%, 37%)
HSVhsv(231, 64%, 55%)
CMYKcmyk(64%, 54.7%, 0%, 45.5%)
CIE-LABlab(29.65, 20.04, -44.06)
CIE-LCHlch(29.65, 48.41, 294.46°)
OKLaboklab(40.12% 0.0048 -0.1264)
OKLCHoklch(40.12% 0.127 272.2)
XYZxyz(7.7515, 6.0966, 25.1894)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F8B #8B7E32
analogous
#326C8B #323F8B #52328B
triadic
#323F8B #8B323F #3F8B32
tetradic
#323F8B #8B326C #8B7E32 #328B52
square
#323F8B #8B326C #8B7E32 #328B52
split-complementary
#323F8B #8B5232 #6C8B32
monochromatic
#121631 #222B5E #323F8B #4253B8 #6D7BCA

Accessibility & contrast

On white

9.46
#323F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#323F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F8B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F8B#FFFFFF#000000##FFFFFF
##323F8B1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4A8E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323f8b;
/* rgb */ color: rgb(50, 63, 139);
/* oklch */ color: oklch(40.1% 0.127 272.2);
Tailwind
colors: {
  custom: {
    50: '#7473ad',
    500: '#323f8b',
    950: '#000000',
  },
}
SCSS
$custom: #323f8b;
$custom-light: #7473ad;
$custom-dark: #000000;
JSON
{
  "hex": "#323f8b",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 231.236,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.1265,
    "h": 272.2
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#323F8B
secondary
#B2A767
accent
#C351D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #323F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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