#3D32B1#3D32B1

#3D32B1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.9% C 0.192 H 278.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#3D32B1
RGBrgb(61, 50, 177)
HSLhsl(245, 56%, 45%)
HSVhsv(245, 72%, 69%)
CMYKcmyk(65.5%, 71.8%, 0%, 30.6%)
CIE-LABlab(30.51, 43.16, -65.68)
CIE-LCHlch(30.51, 78.60, 303.31°)
OKLaboklab(41.95% 0.0269 -0.1896)
OKLCHoklch(41.95% 0.192 278.1)
XYZxyz(10.9983, 6.4467, 42.2512)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D32B1 #A6B132
analogous
#3267B1 #3D32B1 #7D32B1
triadic
#3D32B1 #B13D32 #32B13D
tetradic
#3D32B1 #B13267 #A6B132 #32B17D
square
#3D32B1 #B13267 #A6B132 #32B17D
split-complementary
#3D32B1 #B17D32 #67B132
monochromatic
#1C1752 #2D2581 #3D32B1 #5D52CE #8A82DC

Accessibility & contrast

On white

9.17
#3D32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3D32B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D32B1
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D32B1#FFFFFF#000000##FFFFFF
##3D32B11.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d32b1;
/* rgb */ color: rgb(61, 50, 177);
/* oklch */ color: oklch(41.9% 0.192 278.1);
Tailwind
colors: {
  custom: {
    50: '#826cc9',
    500: '#3d32b1',
    950: '#000000',
  },
}
SCSS
$custom: #3d32b1;
$custom-light: #826cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d32b1",
  "rgb": {
    "r": 61,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 245.197,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.19152,
    "h": 278.1
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#3D32B1
secondary
#BEC57A
accent
#DF49D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3D32B1

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

Preview Lab → · Contrast checker → · Palette generator →

#3D32B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva