#3132B8#3132B8

#3132B8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.203 H 273.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3132B8
RGBrgb(49, 50, 184)
HSLhsl(240, 58%, 46%)
HSVhsv(240, 73%, 72%)
CMYKcmyk(73.4%, 72.8%, 0%, 27.8%)
CIE-LABlab(30.38, 44.14, -70.09)
CIE-LCHlch(30.38, 82.83, 302.20°)
OKLaboklab(41.85% 0.0106 -0.2028)
OKLCHoklch(41.85% 0.203 273)
XYZxyz(11.0561, 6.3937, 45.9895)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3132B8 #B8B731
analogous
#3175B8 #3132B8 #7431B8
triadic
#3132B8 #B83132 #32B831
tetradic
#3132B8 #B83175 #B8B731 #31B874
square
#3132B8 #B83175 #B8B731 #31B874
split-complementary
#3132B8 #B87431 #75B831
monochromatic
#171857 #242588 #3132B8 #5556D2 #8586DE

Accessibility & contrast

On white

9.21
#3132B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3132B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3132B8#FFFFFF#000000##FFFFFF
##3132B81.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3132b8;
/* rgb */ color: rgb(49, 50, 184);
/* oklch */ color: oklch(41.9% 0.203 273.0);
Tailwind
colors: {
  custom: {
    50: '#7e6bcf',
    500: '#3132b8',
    950: '#000000',
  },
}
SCSS
$custom: #3132b8;
$custom-light: #7e6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3132b8",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 239.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41852,
    "c": 0.20305,
    "h": 273
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#3132B8
secondary
#C8C77D
accent
#E047E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3132B8

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

Preview Lab → · Contrast checker → · Palette generator →

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