#3132AC#3132AC

#3132AC is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.188 H 273.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3132AC
RGBrgb(49, 50, 172)
HSLhsl(240, 56%, 43%)
HSVhsv(240, 72%, 67%)
CMYKcmyk(71.5%, 70.9%, 0%, 32.5%)
CIE-LABlab(29.19, 40.09, -64.90)
CIE-LCHlch(29.19, 76.28, 301.70°)
OKLaboklab(40.64% 0.0125 -0.1876)
OKLCHoklch(40.64% 0.188 273.8)
XYZxyz(9.8511, 5.9118, 39.6436)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3132AC #ACAB31
analogous
#316FAC #3132AC #6D31AC
triadic
#3132AC #AC3132 #32AC31
tetradic
#3132AC #AC316F #ACAB31 #31AC6D
square
#3132AC #AC316F #ACAB31 #31AC6D
split-complementary
#3132AC #AC6D31 #6FAC31
monochromatic
#16164D #23247C #3132AC #4E4FCC #7D7EDA

Accessibility & contrast

On white

9.62
#3132AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3132AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3132AC
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3132AC#FFFFFF#000000##FFFFFF
##3132AC1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3132ac;
/* rgb */ color: rgb(49, 50, 172);
/* oklch */ color: oklch(40.6% 0.188 273.8);
Tailwind
colors: {
  custom: {
    50: '#7b6bc6',
    500: '#3132ac',
    950: '#000000',
  },
}
SCSS
$custom: #3132ac;
$custom-light: #7b6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3132ac",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 239.512,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.18807,
    "h": 273.8
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#3132AC
secondary
#C3C276
accent
#DE49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3132AC

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

Preview Lab → · Contrast checker → · Palette generator →

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