#323CA8#323CA8

#323CA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.171 H 272.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#323CA8
RGBrgb(50, 60, 168)
HSLhsl(235, 54%, 43%)
HSVhsv(235, 70%, 66%)
CMYKcmyk(70.2%, 64.3%, 0%, 34.1%)
CIE-LABlab(31.20, 32.58, -59.20)
CIE-LCHlch(31.20, 67.57, 298.82°)
OKLaboklab(42% 0.0074 -0.1709)
OKLCHoklch(42% 0.171 272.5)
XYZxyz(9.9968, 6.7360, 37.8115)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CA8 #A89E32
analogous
#3277A8 #323CA8 #6332A8
triadic
#323CA8 #A8323C #3CA832
tetradic
#323CA8 #A83277 #A89E32 #32A863
square
#323CA8 #A83277 #A89E32 #32A863
split-complementary
#323CA8 #A86332 #77A832
monochromatic
#161A4A #242B79 #323CA8 #4D58CA #7C84D8

Accessibility & contrast

On white

8.95
#323CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#323CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CA8
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CA8#FFFFFF#000000##FFFFFF
##323CA81.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323ca8;
/* rgb */ color: rgb(50, 60, 168);
/* oklch */ color: oklch(42.0% 0.171 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a72c3',
    500: '#323ca8',
    950: '#000000',
  },
}
SCSS
$custom: #323ca8;
$custom-light: #7a72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#323ca8",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 234.915,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41998,
    "c": 0.17109,
    "h": 272.5
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#323CA8
secondary
#C1BA75
accent
#D14ADD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #323CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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