#323BA3#323BA3

#323BA3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.166 H 272.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#323BA3
RGBrgb(50, 59, 163)
HSLhsl(235, 53%, 42%)
HSVhsv(235, 69%, 64%)
CMYKcmyk(69.3%, 63.8%, 0%, 36.1%)
CIE-LABlab(30.52, 31.43, -57.30)
CIE-LCHlch(30.52, 65.36, 298.74°)
OKLaboklab(41.37% 0.0084 -0.1654)
OKLCHoklch(41.37% 0.166 272.9)
XYZxyz(9.4880, 6.4495, 35.3881)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323BA3 #A39A32
analogous
#3274A3 #323BA3 #6232A3
triadic
#323BA3 #A3323B #3BA332
tetradic
#323BA3 #A33274 #A39A32 #32A362
square
#323BA3 #A33274 #A39A32 #32A362
split-complementary
#323BA3 #A36232 #74A332
monochromatic
#151945 #242A74 #323BA3 #4B55C8 #7981D6

Accessibility & contrast

On white

9.17
#323BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#323BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323BA3
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323BA3#FFFFFF#000000##FFFFFF
##323BA31.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323ba3;
/* rgb */ color: rgb(50, 59, 163);
/* oklch */ color: oklch(41.4% 0.166 272.9);
Tailwind
colors: {
  custom: {
    50: '#7971bf',
    500: '#323ba3',
    950: '#000000',
  },
}
SCSS
$custom: #323ba3;
$custom-light: #7971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#323ba3",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 235.221,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41366,
    "c": 0.16558,
    "h": 272.9
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#323BA3
secondary
#BFB872
accent
#D14BDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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