#3132AB#3132AB

#3132AB is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.187 H 273.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3132AB
RGBrgb(49, 50, 171)
HSLhsl(240, 55%, 43%)
HSVhsv(240, 71%, 67%)
CMYKcmyk(71.3%, 70.8%, 0%, 32.9%)
CIE-LABlab(29.09, 39.75, -64.46)
CIE-LCHlch(29.09, 75.73, 301.66°)
OKLaboklab(40.54% 0.0127 -0.1864)
OKLCHoklch(40.54% 0.187 273.9)
XYZxyz(9.7555, 5.8735, 39.1398)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3132AB #ABAA31
analogous
#316FAB #3132AB #6D31AB
triadic
#3132AB #AB3132 #32AB31
tetradic
#3132AB #AB316F #ABAA31 #31AB6D
square
#3132AB #AB316F #ABAA31 #31AB6D
split-complementary
#3132AB #AB6D31 #6FAB31
monochromatic
#16164C #23247B #3132AB #4D4ECC #7D7DDA

Accessibility & contrast

On white

9.66
#3132AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3132AB#FFFFFF#000000##FFFFFF
##3132AB1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3132ab;
/* rgb */ color: rgb(49, 50, 171);
/* oklch */ color: oklch(40.5% 0.187 273.9);
Tailwind
colors: {
  custom: {
    50: '#7b6bc5',
    500: '#3132ab',
    950: '#000000',
  },
}
SCSS
$custom: #3132ab;
$custom-light: #7b6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3132ab",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 239.508,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40537,
    "c": 0.1868,
    "h": 273.9
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3132AB

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

Preview Lab → · Contrast checker → · Palette generator →

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