#323AAB#323AAB

#323AAB is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.177 H 272.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#323AAB
RGBrgb(50, 58, 171)
HSLhsl(236, 55%, 43%)
HSVhsv(236, 71%, 67%)
CMYKcmyk(70.8%, 66.1%, 0%, 32.9%)
CIE-LABlab(30.98, 34.92, -61.36)
CIE-LCHlch(30.98, 70.60, 299.65°)
OKLaboklab(41.92% 0.0086 -0.1772)
OKLCHoklch(41.92% 0.177 272.8)
XYZxyz(10.1767, 6.6435, 39.2662)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AAB #ABA332
analogous
#3276AB #323AAB #6632AB
triadic
#323AAB #AB323A #3AAB32
tetradic
#323AAB #AB3276 #ABA332 #32AB66
square
#323AAB #AB3276 #ABA332 #32AB66
split-complementary
#323AAB #AB6632 #76AB32
monochromatic
#161A4C #242A7C #323AAB #4F57CB #7E84D9

Accessibility & contrast

On white

9.02
#323AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#323AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323AAB
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AAB#FFFFFF#000000##FFFFFF
##323AAB1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323aab;
/* rgb */ color: rgb(50, 58, 171);
/* oklch */ color: oklch(41.9% 0.177 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b70c5',
    500: '#323aab',
    950: '#000000',
  },
}
SCSS
$custom: #323aab;
$custom-light: #7b70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#323aab",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 236.033,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.17746,
    "h": 272.8
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#323AAB
secondary
#C2BD77
accent
#D44ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #323AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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