#323C98#323C98

#323C98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.149 H 273.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#323C98
RGBrgb(50, 60, 152)
HSLhsl(234, 50%, 40%)
HSVhsv(234, 67%, 60%)
CMYKcmyk(67.1%, 60.5%, 0%, 40.4%)
CIE-LABlab(29.85, 26.80, -51.72)
CIE-LCHlch(29.85, 58.25, 297.40°)
OKLaboklab(40.59% 0.008 -0.149)
OKLCHoklch(40.59% 0.149 273.1)
XYZxyz(8.5969, 6.1761, 30.4387)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C98 #988E32
analogous
#326F98 #323C98 #5B3298
triadic
#323C98 #98323C #3C9832
tetradic
#323C98 #98326F #988E32 #32985B
square
#323C98 #98326F #988E32 #32985B
split-complementary
#323C98 #985B32 #6F9832
monochromatic
#14183C #232A6A #323C98 #4552C2 #737DD1

Accessibility & contrast

On white

9.39
#323C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#323C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C98
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C98#FFFFFF#000000##FFFFFF
##323C981.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323c98;
/* rgb */ color: rgb(50, 60, 152);
/* oklch */ color: oklch(40.6% 0.149 273.1);
Tailwind
colors: {
  custom: {
    50: '#7671b7',
    500: '#323c98',
    950: '#000000',
  },
}
SCSS
$custom: #323c98;
$custom-light: #7671b7;
$custom-dark: #000000;
JSON
{
  "hex": "#323c98",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 234.118,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40588,
    "c": 0.14917,
    "h": 273.1
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#323C98
secondary
#B9B26D
accent
#CC4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323C98

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

Preview Lab → · Contrast checker → · Palette generator →

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