#323C95#323C95

#323C95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.145 H 273.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#323C95
RGBrgb(50, 60, 149)
HSLhsl(234, 50%, 39%)
HSVhsv(234, 66%, 58%)
CMYKcmyk(66.4%, 59.7%, 0%, 41.6%)
CIE-LABlab(29.61, 25.71, -50.28)
CIE-LCHlch(29.61, 56.47, 297.09°)
OKLaboklab(40.33% 0.008 -0.1447)
OKLCHoklch(40.33% 0.145 273.2)
XYZxyz(8.3543, 6.0790, 29.1611)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323C95 #958B32
analogous
#326E95 #323C95 #5A3295
triadic
#323C95 #95323C #3C9532
tetradic
#323C95 #95326E #958B32 #32955A
square
#323C95 #95326E #958B32 #32955A
split-complementary
#323C95 #955A32 #6E9532
monochromatic
#131739 #232A67 #323C95 #4451C0 #727BD0

Accessibility & contrast

On white

9.48
#323C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#323C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323C95
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323C95#FFFFFF#000000##FFFFFF
##323C951.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323c95;
/* rgb */ color: rgb(50, 60, 149);
/* oklch */ color: oklch(40.3% 0.145 273.2);
Tailwind
colors: {
  custom: {
    50: '#7671b5',
    500: '#323c95',
    950: '#000000',
  },
}
SCSS
$custom: #323c95;
$custom-light: #7671b5;
$custom-dark: #000000;
JSON
{
  "hex": "#323c95",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 233.939,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.14495,
    "h": 273.2
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323C95

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

Preview Lab → · Contrast checker → · Palette generator →

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