#323CA2#323CA2

#323CA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.163 H 272.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#323CA2
RGBrgb(50, 60, 162)
HSLhsl(235, 53%, 42%)
HSVhsv(235, 69%, 64%)
CMYKcmyk(69.1%, 63%, 0%, 36.5%)
CIE-LABlab(30.68, 30.42, -56.43)
CIE-LCHlch(30.68, 64.11, 298.33°)
OKLaboklab(41.46% 0.0077 -0.1628)
OKLCHoklch(41.46% 0.163 272.7)
XYZxyz(9.4507, 6.5176, 34.9354)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CA2 #A29832
analogous
#3274A2 #323CA2 #6032A2
triadic
#323CA2 #A2323C #3CA232
tetradic
#323CA2 #A23274 #A29832 #32A260
square
#323CA2 #A23274 #A29832 #32A260
split-complementary
#323CA2 #A26032 #74A232
monochromatic
#151944 #242B73 #323CA2 #4A55C7 #7981D6

Accessibility & contrast

On white

9.12
#323CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#323CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CA2
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CA2#FFFFFF#000000##FFFFFF
##323CA21.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323ca2;
/* rgb */ color: rgb(50, 60, 162);
/* oklch */ color: oklch(41.5% 0.163 272.7);
Tailwind
colors: {
  custom: {
    50: '#7971be',
    500: '#323ca2',
    950: '#000000',
  },
}
SCSS
$custom: #323ca2;
$custom-light: #7971be;
$custom-dark: #000000;
JSON
{
  "hex": "#323ca2",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 234.643,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4146,
    "c": 0.16298,
    "h": 272.7
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#323CA2
secondary
#BEB772
accent
#CF4CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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