#323A8A#323A8A

#323A8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.132 H 274.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#323A8A
RGBrgb(50, 58, 138)
HSLhsl(235, 47%, 37%)
HSVhsv(235, 64%, 54%)
CMYKcmyk(63.8%, 58%, 0%, 45.9%)
CIE-LABlab(28.22, 23.05, -45.77)
CIE-LCHlch(28.22, 51.25, 296.73°)
OKLaboklab(39.02% 0.0098 -0.1315)
OKLCHoklch(39.02% 0.132 274.2)
XYZxyz(7.4144, 5.5386, 24.7182)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A8A #8A8232
analogous
#32668A #323A8A #56328A
triadic
#323A8A #8A323A #3A8A32
tetradic
#323A8A #8A3266 #8A8232 #328A56
square
#323A8A #8A3266 #8A8232 #328A56
split-complementary
#323A8A #8A5632 #668A32
monochromatic
#111430 #22275D #323A8A #424DB7 #6C75CA

Accessibility & contrast

On white

9.96
#323A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#323A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A8A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A8A#FFFFFF#000000##FFFFFF
##323A8A1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323a8a;
/* rgb */ color: rgb(50, 58, 138);
/* oklch */ color: oklch(39.0% 0.132 274.2);
Tailwind
colors: {
  custom: {
    50: '#7470ad',
    500: '#323a8a',
    950: '#000000',
  },
}
SCSS
$custom: #323a8a;
$custom-light: #7470ad;
$custom-dark: #000000;
JSON
{
  "hex": "#323a8a",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 234.545,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39023,
    "c": 0.13185,
    "h": 274.2
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#323A8A
secondary
#B2AB66
accent
#CA51D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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