#323F95#323F95

#323F95 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.141 H 272.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#323F95
RGBrgb(50, 63, 149)
HSLhsl(232, 50%, 39%)
HSVhsv(232, 66%, 58%)
CMYKcmyk(66.4%, 57.7%, 0%, 41.6%)
CIE-LABlab(30.41, 23.71, -48.99)
CIE-LCHlch(30.41, 54.42, 295.83°)
OKLaboklab(40.92% 0.0052 -0.1409)
OKLCHoklch(40.92% 0.141 272.1)
XYZxyz(8.5159, 6.4023, 29.2149)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F95 #958832
analogous
#327195 #323F95 #573295
triadic
#323F95 #95323F #3F9532
tetradic
#323F95 #953271 #958832 #329557
square
#323F95 #953271 #958832 #329557
split-complementary
#323F95 #955732 #719532
monochromatic
#131839 #232C67 #323F95 #4454C0 #727ED0

Accessibility & contrast

On white

9.21
#323F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#323F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F95
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F95#FFFFFF#000000##FFFFFF
##323F951.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323f95;
/* rgb */ color: rgb(50, 63, 149);
/* oklch */ color: oklch(40.9% 0.141 272.1);
Tailwind
colors: {
  custom: {
    50: '#7673b5',
    500: '#323f95',
    950: '#000000',
  },
}
SCSS
$custom: #323f95;
$custom-light: #7673b5;
$custom-dark: #000000;
JSON
{
  "hex": "#323f95",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 232.121,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40924,
    "c": 0.141,
    "h": 272.1
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#323F95
secondary
#B8AE6B
accent
#C74FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #323F95

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

Preview Lab → · Contrast checker → · Palette generator →

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