#323B95#323B95

#323B95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.146 H 273.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#323B95
RGBrgb(50, 59, 149)
HSLhsl(235, 50%, 39%)
HSVhsv(235, 66%, 58%)
CMYKcmyk(66.4%, 60.4%, 0%, 41.6%)
CIE-LABlab(29.35, 26.38, -50.70)
CIE-LCHlch(29.35, 57.15, 297.48°)
OKLaboklab(40.14% 0.0089 -0.146)
OKLCHoklch(40.14% 0.146 273.5)
XYZxyz(8.3024, 5.9752, 29.1438)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B95 #958C32
analogous
#326D95 #323B95 #5B3295
triadic
#323B95 #95323B #3B9532
tetradic
#323B95 #95326D #958C32 #32955B
square
#323B95 #95326D #958C32 #32955B
split-complementary
#323B95 #955B32 #6D9532
monochromatic
#131739 #232967 #323B95 #444FC0 #727AD0

Accessibility & contrast

On white

9.57
#323B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#323B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B95
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B95#FFFFFF#000000##FFFFFF
##323B951.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323b95;
/* rgb */ color: rgb(50, 59, 149);
/* oklch */ color: oklch(40.1% 0.146 273.5);
Tailwind
colors: {
  custom: {
    50: '#7671b5',
    500: '#323b95',
    950: '#000000',
  },
}
SCSS
$custom: #323b95;
$custom-light: #7671b5;
$custom-dark: #000000;
JSON
{
  "hex": "#323b95",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 234.545,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40139,
    "c": 0.14625,
    "h": 273.5
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#323B95
secondary
#B8B16B
accent
#CD4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323B95

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

Preview Lab → · Contrast checker → · Palette generator →

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