#323197#323197

#323197 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.162 H 276.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#323197
RGBrgb(50, 49, 151)
HSLhsl(241, 51%, 39%)
HSVhsv(241, 68%, 59%)
CMYKcmyk(66.9%, 67.5%, 0%, 40.8%)
CIE-LABlab(27.04, 33.58, -55.70)
CIE-LCHlch(27.04, 65.04, 301.09°)
OKLaboklab(38.5% 0.0172 -0.1607)
OKLCHoklch(38.5% 0.162 276.1)
XYZxyz(7.9978, 5.1084, 29.8367)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323197 #969731
analogous
#316397 #323197 #653197
triadic
#323197 #973231 #319732
tetradic
#323197 #973163 #969731 #319765
square
#323197 #973163 #969731 #319765
split-complementary
#323197 #976531 #639731
monochromatic
#13133B #232269 #323197 #4443C2 #7271D1

Accessibility & contrast

On white

10.39
#323197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#323197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323197
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323197#FFFFFF#000000##FFFFFF
##3231971.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323197;
/* rgb */ color: rgb(50, 49, 151);
/* oklch */ color: oklch(38.5% 0.162 276.1);
Tailwind
colors: {
  custom: {
    50: '#7769b7',
    500: '#323197',
    950: '#000000',
  },
}
SCSS
$custom: #323197;
$custom-light: #7769b7;
$custom-dark: #000000;
JSON
{
  "hex": "#323197",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 240.588,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38499,
    "c": 0.16162,
    "h": 276.1
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#323197
secondary
#B8B96B
accent
#DA4DD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #323197

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

Preview Lab → · Contrast checker → · Palette generator →

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