#3132AA#3132AA

#3132AA is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.186 H 274.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3132AA
RGBrgb(49, 50, 170)
HSLhsl(240, 55%, 43%)
HSVhsv(240, 71%, 67%)
CMYKcmyk(71.2%, 70.6%, 0%, 33.3%)
CIE-LABlab(28.99, 39.40, -64.02)
CIE-LCHlch(28.99, 75.18, 301.61°)
OKLaboklab(40.44% 0.0128 -0.1851)
OKLCHoklch(40.44% 0.186 274)
XYZxyz(9.6605, 5.8355, 38.6397)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3132AA #AAA931
analogous
#316EAA #3132AA #6C31AA
triadic
#3132AA #AA3132 #32AA31
tetradic
#3132AA #AA316E #AAA931 #31AA6C
square
#3132AA #AA316E #AAA931 #31AA6C
split-complementary
#3132AA #AA6C31 #6EAA31
monochromatic
#16164B #23247A #3132AA #4D4ECC #7C7DD9

Accessibility & contrast

On white

9.69
#3132AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3132AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3132AA#FFFFFF#000000##FFFFFF
##3132AA1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3132aa;
/* rgb */ color: rgb(49, 50, 170);
/* oklch */ color: oklch(40.4% 0.186 274.0);
Tailwind
colors: {
  custom: {
    50: '#7b6bc4',
    500: '#3132aa',
    950: '#000000',
  },
}
SCSS
$custom: #3132aa;
$custom-light: #7b6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3132aa",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 239.504,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.18553,
    "h": 274
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#3132AA
secondary
#C2C175
accent
#DD49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3132AA

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

Preview Lab → · Contrast checker → · Palette generator →

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