#3132A4#3132A4

#3132A4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.178 H 274.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3132A4
RGBrgb(49, 50, 164)
HSLhsl(239, 54%, 42%)
HSVhsv(239, 70%, 64%)
CMYKcmyk(70.1%, 69.5%, 0%, 35.7%)
CIE-LABlab(28.42, 37.34, -61.36)
CIE-LCHlch(28.42, 71.82, 301.32°)
OKLaboklab(39.85% 0.0136 -0.1773)
OKLCHoklch(39.85% 0.178 274.4)
XYZxyz(9.1058, 5.6137, 35.7184)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3132A4 #A4A331
analogous
#316CA4 #3132A4 #6A31A4
triadic
#3132A4 #A43132 #32A431
tetradic
#3132A4 #A4316C #A4A331 #31A46A
square
#3132A4 #A4316C #A4A331 #31A46A
split-complementary
#3132A4 #A46A31 #6CA431
monochromatic
#151546 #232475 #3132A4 #494BC9 #7979D7

Accessibility & contrast

On white

9.89
#3132A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3132A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3132A4
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3132A4#FFFFFF#000000##FFFFFF
##3132A41.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3132a4;
/* rgb */ color: rgb(49, 50, 164);
/* oklch */ color: oklch(39.8% 0.178 274.4);
Tailwind
colors: {
  custom: {
    50: '#7a6bc0',
    500: '#3132a4',
    950: '#000000',
  },
}
SCSS
$custom: #3132a4;
$custom-light: #7a6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3132a4",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 239.478,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39846,
    "c": 0.17782,
    "h": 274.4
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#3132A4
secondary
#BFBF72
accent
#DC4ADD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3132A4

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

Preview Lab → · Contrast checker → · Palette generator →

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