#323297#323297

#323297 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.160 H 275.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#323297
RGBrgb(50, 50, 151)
HSLhsl(240, 50%, 39%)
HSVhsv(240, 67%, 59%)
CMYKcmyk(66.9%, 66.9%, 0%, 40.8%)
CIE-LABlab(27.28, 32.95, -55.31)
CIE-LCHlch(27.28, 64.38, 300.78°)
OKLaboklab(38.67% 0.0164 -0.1596)
OKLCHoklch(38.67% 0.16 275.9)
XYZxyz(8.0401, 5.1930, 29.8508)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323297 #979732
analogous
#326597 #323297 #653297
triadic
#323297 #973232 #329732
tetradic
#323297 #973265 #979732 #329765
square
#323297 #973265 #979732 #329765
split-complementary
#323297 #976532 #659732
monochromatic
#14143B #232369 #323297 #4545C1 #7373D1

Accessibility & contrast

On white

10.30
#323297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#323297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323297
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323297#FFFFFF#000000##FFFFFF
##3232971.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323297;
/* rgb */ color: rgb(50, 50, 151);
/* oklch */ color: oklch(38.7% 0.160 275.9);
Tailwind
colors: {
  custom: {
    50: '#776ab7',
    500: '#323297',
    950: '#000000',
  },
}
SCSS
$custom: #323297;
$custom-light: #776ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#323297",
  "rgb": {
    "r": 50,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3867,
    "c": 0.16041,
    "h": 275.9
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#323297
secondary
#B9B96C
accent
#DA4EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #323297

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

Preview Lab → · Contrast checker → · Palette generator →

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