#323CA5#323CA5

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

Color values

HEX#323CA5
RGBrgb(50, 60, 165)
HSLhsl(235, 53%, 42%)
HSVhsv(235, 70%, 65%)
CMYKcmyk(69.7%, 63.6%, 0%, 35.3%)
CIE-LABlab(30.94, 31.50, -57.82)
CIE-LCHlch(30.94, 65.85, 298.58°)
OKLaboklab(41.73% 0.0076 -0.1669)
OKLCHoklch(41.73% 0.167 272.6)
XYZxyz(9.7205, 6.6255, 36.3566)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CA5 #A59B32
analogous
#3275A5 #323CA5 #6232A5
triadic
#323CA5 #A5323C #3CA532
tetradic
#323CA5 #A53275 #A59B32 #32A562
square
#323CA5 #A53275 #A59B32 #32A562
split-complementary
#323CA5 #A56232 #75A532
monochromatic
#161A47 #242B76 #323CA5 #4C56C9 #7B83D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##323CA5#FFFFFF#000000##FFFFFF
##323CA51.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323ca5;
/* rgb */ color: rgb(50, 60, 165);
/* oklch */ color: oklch(41.7% 0.167 272.6);
Tailwind
colors: {
  custom: {
    50: '#7971c1',
    500: '#323ca5',
    950: '#000000',
  },
}
SCSS
$custom: #323ca5;
$custom-light: #7971c1;
$custom-dark: #000000;
JSON
{
  "hex": "#323ca5",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 234.783,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.16705,
    "h": 272.6
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#323CA5
secondary
#BFB973
accent
#D04BDD
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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