#323E98#323E98

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

Color values

HEX#323E98
RGBrgb(50, 62, 152)
HSLhsl(233, 50%, 40%)
HSVhsv(233, 67%, 60%)
CMYKcmyk(67.1%, 59.2%, 0%, 40.4%)
CIE-LABlab(30.37, 25.48, -50.87)
CIE-LCHlch(30.37, 56.89, 296.60°)
OKLaboklab(40.98% 0.0062 -0.1464)
OKLCHoklch(40.98% 0.147 272.4)
XYZxyz(8.7036, 6.3896, 30.4743)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323E98 #988C32
analogous
#327198 #323E98 #593298
triadic
#323E98 #98323E #3E9832
tetradic
#323E98 #983271 #988C32 #329859
square
#323E98 #983271 #988C32 #329859
split-complementary
#323E98 #985932 #719832
monochromatic
#14183C #232B6A #323E98 #4554C2 #737ED1

Accessibility & contrast

On white

9.22
#323E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323E98
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323E98#FFFFFF#000000##FFFFFF
##323E981.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323e98;
/* rgb */ color: rgb(50, 62, 152);
/* oklch */ color: oklch(41.0% 0.147 272.4);
Tailwind
colors: {
  custom: {
    50: '#7673b7',
    500: '#323e98',
    950: '#000000',
  },
}
SCSS
$custom: #323e98;
$custom-light: #7673b7;
$custom-dark: #000000;
JSON
{
  "hex": "#323e98",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 232.941,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.14657,
    "h": 272.4
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323E98

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

Preview Lab → · Contrast checker → · Palette generator →

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