#323DA2#323DA2

#323DA2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.162 H 272.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#323DA2
RGBrgb(50, 61, 162)
HSLhsl(234, 53%, 42%)
HSVhsv(234, 69%, 64%)
CMYKcmyk(69.1%, 62.3%, 0%, 36.5%)
CIE-LABlab(30.93, 29.77, -56.02)
CIE-LCHlch(30.93, 63.44, 297.99°)
OKLaboklab(41.65% 0.0069 -0.1616)
OKLCHoklch(41.65% 0.162 272.5)
XYZxyz(9.5035, 6.6233, 34.9530)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DA2 #A29732
analogous
#3275A2 #323DA2 #5F32A2
triadic
#323DA2 #A2323D #3DA232
tetradic
#323DA2 #A23275 #A29732 #32A25F
square
#323DA2 #A23275 #A29732 #32A25F
split-complementary
#323DA2 #A25F32 #75A232
monochromatic
#151A44 #242B73 #323DA2 #4A56C7 #7982D6

Accessibility & contrast

On white

9.03
#323DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#323DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DA2
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DA2#FFFFFF#000000##FFFFFF
##323DA21.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323da2;
/* rgb */ color: rgb(50, 61, 162);
/* oklch */ color: oklch(41.6% 0.162 272.5);
Tailwind
colors: {
  custom: {
    50: '#7972be',
    500: '#323da2',
    950: '#000000',
  },
}
SCSS
$custom: #323da2;
$custom-light: #7972be;
$custom-dark: #000000;
JSON
{
  "hex": "#323da2",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 234.107,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41645,
    "c": 0.16174,
    "h": 272.5
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#323DA2
secondary
#BEB772
accent
#CE4CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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