#3132BA#3132BA

#3132BA is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.1% C 0.206 H 272.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#3132BA
RGBrgb(49, 50, 186)
HSLhsl(240, 58%, 46%)
HSVhsv(240, 74%, 73%)
CMYKcmyk(73.7%, 73.1%, 0%, 27.1%)
CIE-LABlab(30.59, 44.81, -70.93)
CIE-LCHlch(30.59, 83.90, 302.28°)
OKLaboklab(42.06% 0.0103 -0.2052)
OKLCHoklch(42.06% 0.206 272.9)
XYZxyz(11.2672, 6.4782, 47.1015)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3132BA #BAB931
analogous
#3176BA #3132BA #7431BA
triadic
#3132BA #BA3132 #32BA31
tetradic
#3132BA #BA3176 #BAB931 #31BA74
square
#3132BA #BA3176 #BAB931 #31BA74
split-complementary
#3132BA #BA7431 #76BA31
monochromatic
#171859 #24258A #3132BA #5657D2 #8687DF

Accessibility & contrast

On white

9.15
#3132BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3132BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3132BA#FFFFFF#000000##FFFFFF
##3132BA1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0041B8
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3132ba;
/* rgb */ color: rgb(49, 50, 186);
/* oklch */ color: oklch(42.1% 0.206 272.9);
Tailwind
colors: {
  custom: {
    50: '#7f6bd0',
    500: '#3132ba',
    950: '#000000',
  },
}
SCSS
$custom: #3132ba;
$custom-light: #7f6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3132ba",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 239.562,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42057,
    "c": 0.20551,
    "h": 272.9
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#3132BA
secondary
#C9C87E
accent
#E046E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3132BA

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

Preview Lab → · Contrast checker → · Palette generator →

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