#3132A2#3132A2

#3132A2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.175 H 274.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3132A2
RGBrgb(49, 50, 162)
HSLhsl(239, 54%, 41%)
HSVhsv(239, 70%, 64%)
CMYKcmyk(69.8%, 69.1%, 0%, 36.5%)
CIE-LABlab(28.23, 36.65, -60.46)
CIE-LCHlch(28.23, 70.70, 301.22°)
OKLaboklab(39.65% 0.0139 -0.1747)
OKLCHoklch(39.65% 0.175 274.5)
XYZxyz(8.9267, 5.5420, 34.7747)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3132A2 #A2A131
analogous
#316BA2 #3132A2 #6931A2
triadic
#3132A2 #A23132 #32A231
tetradic
#3132A2 #A2316B #A2A131 #31A269
square
#3132A2 #A2316B #A2A131 #31A269
split-complementary
#3132A2 #A26931 #6BA231
monochromatic
#151544 #232373 #3132A2 #484AC8 #7778D6

Accessibility & contrast

On white

9.96
#3132A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3132A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3132A2
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3132A2#FFFFFF#000000##FFFFFF
##3132A21.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3132a2;
/* rgb */ color: rgb(49, 50, 162);
/* oklch */ color: oklch(39.7% 0.175 274.5);
Tailwind
colors: {
  custom: {
    50: '#796abf',
    500: '#3132a2',
    950: '#000000',
  },
}
SCSS
$custom: #3132a2;
$custom-light: #796abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3132a2",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 239.469,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39651,
    "c": 0.17522,
    "h": 274.5
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#3132A2
secondary
#BEBE71
accent
#DC4BDD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3132A2

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

Preview Lab → · Contrast checker → · Palette generator →

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