#323C94#323C94

#323C94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.144 H 273.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#323C94
RGBrgb(50, 60, 148)
HSLhsl(234, 49%, 39%)
HSVhsv(234, 66%, 58%)
CMYKcmyk(66.2%, 59.5%, 0%, 42%)
CIE-LABlab(29.53, 25.35, -49.80)
CIE-LCHlch(29.53, 55.88, 296.98°)
OKLaboklab(40.25% 0.008 -0.1433)
OKLCHoklch(40.25% 0.144 273.2)
XYZxyz(8.2748, 6.0472, 28.7424)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C94 #948A32
analogous
#326D94 #323C94 #593294
triadic
#323C94 #94323C #3C9432
tetradic
#323C94 #94326D #948A32 #329459
square
#323C94 #94326D #948A32 #329459
split-complementary
#323C94 #945932 #6D9432
monochromatic
#131739 #232966 #323C94 #4450C0 #717BCF

Accessibility & contrast

On white

9.50
#323C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#323C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C94
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C94#FFFFFF#000000##FFFFFF
##323C941.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323c94;
/* rgb */ color: rgb(50, 60, 148);
/* oklch */ color: oklch(40.2% 0.144 273.2);
Tailwind
colors: {
  custom: {
    50: '#7671b4',
    500: '#323c94',
    950: '#000000',
  },
}
SCSS
$custom: #323c94;
$custom-light: #7671b4;
$custom-dark: #000000;
JSON
{
  "hex": "#323c94",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 233.878,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40248,
    "c": 0.14353,
    "h": 273.2
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#323C94
secondary
#B7AF6B
accent
#CB4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323C94

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

Preview Lab → · Contrast checker → · Palette generator →

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