#3231C5#3231C5

#3231C5 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.219 H 272.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3231C5
RGBrgb(50, 49, 197)
HSLhsl(240, 60%, 48%)
HSVhsv(240, 75%, 77%)
CMYKcmyk(74.6%, 75.1%, 0%, 22.7%)
CIE-LABlab(31.59, 49.07, -75.76)
CIE-LCHlch(31.59, 90.26, 302.93°)
OKLaboklab(43.12% 0.01 -0.2192)
OKLCHoklch(43.12% 0.219 272.6)
XYZxyz(12.4884, 6.9046, 53.4871)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231C5 #C4C531
analogous
#317AC5 #3231C5 #7C31C5
triadic
#3231C5 #C53231 #31C532
tetradic
#3231C5 #C5317A #C4C531 #31C57C
square
#3231C5 #C5317A #C4C531 #31C57C
split-complementary
#3231C5 #C57C31 #7AC531
monochromatic
#191963 #262594 #3231C5 #5D5DD7 #8E8EE3

Accessibility & contrast

On white

8.82
#3231C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3231C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231C5
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231C5#FFFFFF#000000##FFFFFF
##3231C51.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C9
Deuteranopia (green-blind)
#0043C2
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3231c5;
/* rgb */ color: rgb(50, 49, 197);
/* oklch */ color: oklch(43.1% 0.219 272.6);
Tailwind
colors: {
  custom: {
    50: '#826bd8',
    500: '#3231c5',
    950: '#000000',
  },
}
SCSS
$custom: #3231c5;
$custom-light: #826bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3231c5",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 240.405,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43122,
    "c": 0.21948,
    "h": 272.6
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#3231C5
secondary
#CDCD85
accent
#E344E2
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3231C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3231C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva