#3D32B2#3D32B2

#3D32B2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.193 H 278.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3D32B2
RGBrgb(61, 50, 178)
HSLhsl(245, 56%, 45%)
HSVhsv(245, 72%, 70%)
CMYKcmyk(65.7%, 71.9%, 0%, 30.2%)
CIE-LABlab(30.61, 43.49, -66.12)
CIE-LCHlch(30.61, 79.14, 303.33°)
OKLaboklab(42.05% 0.0267 -0.1909)
OKLCHoklch(42.05% 0.193 278)
XYZxyz(11.0984, 6.4867, 42.7780)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D32B2 #A7B232
analogous
#3267B2 #3D32B2 #7D32B2
triadic
#3D32B2 #B23D32 #32B23D
tetradic
#3D32B2 #B23267 #A7B232 #32B27D
square
#3D32B2 #B23267 #A7B232 #32B27D
split-complementary
#3D32B2 #B27D32 #67B232
monochromatic
#1C1752 #2D2582 #3D32B2 #5D53CF #8A82DC

Accessibility & contrast

On white

9.14
#3D32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3D32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D32B2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D32B2#FFFFFF#000000##FFFFFF
##3D32B21.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d32b2;
/* rgb */ color: rgb(61, 50, 178);
/* oklch */ color: oklch(42.0% 0.193 278.0);
Tailwind
colors: {
  custom: {
    50: '#826cca',
    500: '#3d32b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d32b2;
$custom-light: #826cca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d32b2",
  "rgb": {
    "r": 61,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 245.156,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42046,
    "c": 0.19276,
    "h": 278
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#3D32B2
secondary
#BFC57B
accent
#DF48D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3D32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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