#323698#323698

#323698 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.157 H 274.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#323698
RGBrgb(50, 54, 152)
HSLhsl(238, 50%, 40%)
HSVhsv(238, 67%, 60%)
CMYKcmyk(67.1%, 64.5%, 0%, 40.4%)
CIE-LABlab(28.33, 30.73, -54.19)
CIE-LCHlch(28.33, 62.30, 299.56°)
OKLaboklab(39.47% 0.0131 -0.1563)
OKLCHoklch(39.47% 0.157 274.8)
XYZxyz(8.3002, 5.5827, 30.3398)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323698 #989432
analogous
#326998 #323698 #613298
triadic
#323698 #983236 #369832
tetradic
#323698 #983269 #989432 #329861
square
#323698 #983269 #989432 #329861
split-complementary
#323698 #986132 #699832
monochromatic
#14153C #23266A #323698 #454AC2 #7377D1

Accessibility & contrast

On white

9.92
#323698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#323698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323698
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323698#FFFFFF#000000##FFFFFF
##3236981.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323698;
/* rgb */ color: rgb(50, 54, 152);
/* oklch */ color: oklch(39.5% 0.157 274.8);
Tailwind
colors: {
  custom: {
    50: '#776db7',
    500: '#323698',
    950: '#000000',
  },
}
SCSS
$custom: #323698;
$custom-light: #776db7;
$custom-dark: #000000;
JSON
{
  "hex": "#323698",
  "rgb": {
    "r": 50,
    "g": 54,
    "b": 152
  },
  "hsl": {
    "h": 237.647,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39469,
    "c": 0.15683,
    "h": 274.8
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#323698
secondary
#B9B66D
accent
#D44EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #323698

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

Preview Lab → · Contrast checker → · Palette generator →

#323698 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva