#323D8E#323D8E

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

Color values

HEX#323D8E
RGBrgb(50, 61, 142)
HSLhsl(233, 48%, 38%)
HSVhsv(233, 65%, 56%)
CMYKcmyk(64.8%, 57%, 0%, 44.3%)
CIE-LABlab(29.33, 22.49, -46.43)
CIE-LCHlch(29.33, 51.59, 295.84°)
OKLaboklab(39.95% 0.0069 -0.1334)
OKLCHoklch(39.95% 0.134 273)
XYZxyz(7.8650, 5.9679, 26.3234)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D8E #8E8332
analogous
#326B8E #323D8E #55328E
triadic
#323D8E #8E323D #3D8E32
tetradic
#323D8E #8E326B #8E8332 #328E55
square
#323D8E #8E326B #8E8332 #328E55
split-complementary
#323D8E #8E5532 #6B8E32
monochromatic
#121633 #222A61 #323D8E #4250BB #6E7ACC

Accessibility & contrast

On white

9.57
#323D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#323D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D8E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D8E#FFFFFF#000000##FFFFFF
##323D8E1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323d8e;
/* rgb */ color: rgb(50, 61, 142);
/* oklch */ color: oklch(40.0% 0.134 273.0);
Tailwind
colors: {
  custom: {
    50: '#7472b0',
    500: '#323d8e',
    950: '#000000',
  },
}
SCSS
$custom: #323d8e;
$custom-light: #7472b0;
$custom-dark: #000000;
JSON
{
  "hex": "#323d8e",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 232.826,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.13359,
    "h": 273
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#323D8E
secondary
#B4AB68
accent
#C750D8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #323D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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