#3D32A2#3D32A2

#3D32A2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.172 H 279.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3D32A2
RGBrgb(61, 50, 162)
HSLhsl(246, 53%, 42%)
HSVhsv(246, 69%, 64%)
CMYKcmyk(62.3%, 69.1%, 0%, 36.5%)
CIE-LABlab(29.11, 38.29, -58.97)
CIE-LCHlch(29.11, 70.31, 302.99°)
OKLaboklab(40.52% 0.0294 -0.17)
OKLCHoklch(40.52% 0.173 279.8)
XYZxyz(9.5846, 5.8812, 34.8055)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D32A2 #97A232
analogous
#325FA2 #3D32A2 #7532A2
triadic
#3D32A2 #A23D32 #32A23D
tetradic
#3D32A2 #A2325F #97A232 #32A275
square
#3D32A2 #A2325F #97A232 #32A275
split-complementary
#3D32A2 #A27532 #5FA232
monochromatic
#1A1544 #2B2473 #3D32A2 #564AC7 #8279D6

Accessibility & contrast

On white

9.65
#3D32A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3D32A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D32A2
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D32A2#FFFFFF#000000##FFFFFF
##3D32A21.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d32a2;
/* rgb */ color: rgb(61, 50, 162);
/* oklch */ color: oklch(40.5% 0.172 279.8);
Tailwind
colors: {
  custom: {
    50: '#7f6bbf',
    500: '#3d32a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d32a2;
$custom-light: #7f6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d32a2",
  "rgb": {
    "r": 61,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 245.893,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40517,
    "c": 0.1725,
    "h": 279.8
  },
  "luminance": 0.05882
}

Semantic roles & 50–950 ramp

primary
#3D32A2
secondary
#B7BE72
accent
#DC4CCE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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