#3D2A9F#3D2A9F

#3D2A9F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.178 H 281.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3D2A9F
RGBrgb(61, 42, 159)
HSLhsl(250, 58%, 39%)
HSVhsv(250, 74%, 62%)
CMYKcmyk(61.6%, 73.6%, 0%, 37.6%)
CIE-LABlab(27.16, 41.94, -60.35)
CIE-LCHlch(27.16, 73.49, 304.79°)
OKLaboklab(39.04% 0.0362 -0.174)
OKLCHoklch(39.04% 0.178 281.7)
XYZxyz(9.0085, 5.1506, 33.3136)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A9F #8C9F2A
analogous
#2A519F #3D2A9F #782A9F
triadic
#3D2A9F #9F3D2A #2A9F3D
tetradic
#3D2A9F #9F2A51 #8C9F2A #2A9F78
square
#3D2A9F #9F2A51 #8C9F2A #2A9F78
split-complementary
#3D2A9F #9F782A #519F2A
monochromatic
#18103E #2A1D6F #3D2A9F #523BCB #7D6BD8

Accessibility & contrast

On white

10.34
#3D2A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3D2A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A9F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A9F#FFFFFF#000000##FFFFFF
##3D2A9F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d2a9f;
/* rgb */ color: rgb(61, 42, 159);
/* oklch */ color: oklch(39.0% 0.178 281.7);
Tailwind
colors: {
  custom: {
    50: '#7f66bc',
    500: '#3d2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a9f;
$custom-light: #7f66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a9f",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 249.744,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39037,
    "c": 0.17772,
    "h": 281.7
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#3D2A9F
secondary
#B0BF66
accent
#E146C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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