#3231AC#3231AC

#3231AC is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.189 H 274.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#3231AC
RGBrgb(50, 49, 172)
HSLhsl(240, 56%, 43%)
HSVhsv(240, 72%, 67%)
CMYKcmyk(70.9%, 71.5%, 0%, 32.5%)
CIE-LABlab(29.04, 40.79, -65.15)
CIE-LCHlch(29.04, 76.87, 302.05°)
OKLaboklab(40.54% 0.0143 -0.1883)
OKLCHoklch(40.54% 0.189 274.3)
XYZxyz(9.8576, 5.8523, 39.6318)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3231AC #ABAC31
analogous
#316DAC #3231AC #6F31AC
triadic
#3231AC #AC3231 #31AC32
tetradic
#3231AC #AC316D #ABAC31 #31AC6F
square
#3231AC #AC316D #ABAC31 #31AC6F
split-complementary
#3231AC #AC6F31 #6DAC31
monochromatic
#16164D #24237C #3231AC #4F4ECC #7E7DDA

Accessibility & contrast

On white

9.67
#3231AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3231AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3231AC
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3231AC#FFFFFF#000000##FFFFFF
##3231AC1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3231ac;
/* rgb */ color: rgb(50, 49, 172);
/* oklch */ color: oklch(40.5% 0.189 274.3);
Tailwind
colors: {
  custom: {
    50: '#7c6ac6',
    500: '#3231ac',
    950: '#000000',
  },
}
SCSS
$custom: #3231ac;
$custom-light: #7c6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3231ac",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 240.488,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40544,
    "c": 0.18889,
    "h": 274.3
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#3231AC
secondary
#C2C376
accent
#DF49DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3231AC

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

Preview Lab → · Contrast checker → · Palette generator →

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