#323A88#323A88

#323A88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.129 H 274.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#323A88
RGBrgb(50, 58, 136)
HSLhsl(234, 46%, 36%)
HSVhsv(234, 63%, 53%)
CMYKcmyk(63.2%, 57.4%, 0%, 46.7%)
CIE-LABlab(28.06, 22.32, -44.78)
CIE-LCHlch(28.06, 50.03, 296.50°)
OKLaboklab(38.86% 0.0097 -0.1286)
OKLCHoklch(38.86% 0.129 274.3)
XYZxyz(7.2709, 5.4812, 23.9626)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A88 #888032
analogous
#326588 #323A88 #553288
triadic
#323A88 #88323A #3A8832
tetradic
#323A88 #883265 #888032 #328855
square
#323A88 #883265 #888032 #328855
split-complementary
#323A88 #885532 #658832
monochromatic
#11142F #22275B #323A88 #424DB5 #6C74C9

Accessibility & contrast

On white

10.02
#323A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#323A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A88
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A88#FFFFFF#000000##FFFFFF
##323A881.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #323a88;
/* rgb */ color: rgb(50, 58, 136);
/* oklch */ color: oklch(38.9% 0.129 274.3);
Tailwind
colors: {
  custom: {
    50: '#7370ab',
    500: '#323a88',
    950: '#000000',
  },
}
SCSS
$custom: #323a88;
$custom-light: #7370ab;
$custom-dark: #000000;
JSON
{
  "hex": "#323a88",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 234.419,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38861,
    "c": 0.12893,
    "h": 274.3
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#323A88
secondary
#B0A965
accent
#CA52D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323A88

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

Preview Lab → · Contrast checker → · Palette generator →

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