#3132B2#3132B2

#3132B2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.196 H 273.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#3132B2
RGBrgb(49, 50, 178)
HSLhsl(240, 57%, 45%)
HSVhsv(240, 72%, 70%)
CMYKcmyk(72.5%, 71.9%, 0%, 30.2%)
CIE-LABlab(29.78, 42.12, -67.51)
CIE-LCHlch(29.78, 79.58, 301.96°)
OKLaboklab(41.24% 0.0116 -0.1953)
OKLCHoklch(41.24% 0.196 273.4)
XYZxyz(10.4404, 6.1475, 42.7472)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3132B2 #B2B131
analogous
#3173B2 #3132B2 #7131B2
triadic
#3132B2 #B23132 #32B231
tetradic
#3132B2 #B23173 #B2B131 #31B271
square
#3132B2 #B23173 #B2B131 #31B271
split-complementary
#3132B2 #B27131 #73B231
monochromatic
#171752 #242582 #3132B2 #5152CF #8182DC

Accessibility & contrast

On white

9.42
#3132B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3132B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3132B2#FFFFFF#000000##FFFFFF
##3132B21.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3132b2;
/* rgb */ color: rgb(49, 50, 178);
/* oklch */ color: oklch(41.2% 0.196 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d6bca',
    500: '#3132b2',
    950: '#000000',
  },
}
SCSS
$custom: #3132b2;
$custom-light: #7d6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3132b2",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 239.535,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4124,
    "c": 0.19561,
    "h": 273.4
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#3132B2
secondary
#C5C579
accent
#DF48E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3132B2

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

Preview Lab → · Contrast checker → · Palette generator →

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