#322397#322397

#322397 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.177 H 278.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#322397
RGBrgb(50, 35, 151)
HSLhsl(248, 62%, 36%)
HSVhsv(248, 77%, 59%)
CMYKcmyk(66.9%, 76.8%, 0%, 40.8%)
CIE-LABlab(24.04, 41.86, -60.62)
CIE-LCHlch(24.04, 73.67, 304.62°)
OKLaboklab(36.36% 0.0269 -0.1751)
OKLCHoklch(36.36% 0.177 278.7)
XYZxyz(7.5005, 4.1139, 29.6710)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322397 #889723
analogous
#234E97 #322397 #6C2397
triadic
#322397 #973223 #239732
tetradic
#322397 #97234E #889723 #23976C
square
#322397 #97234E #889723 #23976C
split-complementary
#322397 #976C23 #4E9723
monochromatic
#110C34 #221765 #322397 #422FC9 #6C5BD9

Accessibility & contrast

On white

11.52
#322397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#322397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322397
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322397#FFFFFF#000000##FFFFFF
##3223971.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322397;
/* rgb */ color: rgb(50, 35, 151);
/* oklch */ color: oklch(36.4% 0.177 278.7);
Tailwind
colors: {
  custom: {
    50: '#7861b7',
    500: '#322397',
    950: '#000000',
  },
}
SCSS
$custom: #322397;
$custom-light: #7861b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322397",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 247.759,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36356,
    "c": 0.17712,
    "h": 278.7
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#322397
secondary
#B0BE58
accent
#E542D0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322397

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

Preview Lab → · Contrast checker → · Palette generator →

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