#323E97#323E97

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

Color values

HEX#323E97
RGBrgb(50, 62, 151)
HSLhsl(233, 50%, 39%)
HSVhsv(233, 67%, 59%)
CMYKcmyk(66.9%, 58.9%, 0%, 40.8%)
CIE-LABlab(30.30, 25.11, -50.39)
CIE-LCHlch(30.30, 56.30, 296.49°)
OKLaboklab(40.89% 0.0062 -0.145)
OKLCHoklch(40.89% 0.145 272.4)
XYZxyz(8.6221, 6.3570, 30.0448)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323E97 #978B32
analogous
#327197 #323E97 #583297
triadic
#323E97 #97323E #3E9732
tetradic
#323E97 #973271 #978B32 #329758
square
#323E97 #973271 #978B32 #329758
split-complementary
#323E97 #975832 #719732
monochromatic
#14183B #232B69 #323E97 #4554C1 #737ED1

Accessibility & contrast

On white

9.24
#323E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#323E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323E97
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323E97#FFFFFF#000000##FFFFFF
##323E971.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #323e97;
/* rgb */ color: rgb(50, 62, 151);
/* oklch */ color: oklch(40.9% 0.145 272.4);
Tailwind
colors: {
  custom: {
    50: '#7673b6',
    500: '#323e97',
    950: '#000000',
  },
}
SCSS
$custom: #323e97;
$custom-light: #7673b6;
$custom-dark: #000000;
JSON
{
  "hex": "#323e97",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 232.871,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40892,
    "c": 0.14515,
    "h": 272.4
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#323E97
secondary
#B9B06C
accent
#C94EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #323E97

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

Preview Lab → · Contrast checker → · Palette generator →

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