#3D3B84#3D3B84

#3D3B84 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.6% C 0.119 H 280.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#3D3B84
RGBrgb(61, 59, 132)
HSLhsl(242, 38%, 37%)
HSVhsv(242, 55%, 52%)
CMYKcmyk(53.8%, 55.3%, 0%, 48.2%)
CIE-LABlab(28.86, 22.52, -40.96)
CIE-LCHlch(28.86, 46.74, 298.80°)
OKLaboklab(39.58% 0.0221 -0.117)
OKLCHoklch(39.58% 0.119 280.7)
XYZxyz(7.6520, 5.7855, 22.5388)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3B84 #82843B
analogous
#3B5D84 #3D3B84 #623B84
triadic
#3D3B84 #843D3B #3B843D
tetradic
#3D3B84 #843B5D #82843B #3B8462
square
#3D3B84 #843B5D #82843B #3B8462
split-complementary
#3D3B84 #84623B #5D843B
monochromatic
#16152F #29285A #3D3B84 #514EAE #7977C2

Accessibility & contrast

On white

9.73
#3D3B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3D3B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3B84
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3B84#FFFFFF#000000##FFFFFF
##3D3B841.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124787
Deuteranopia (green-blind)
#074182
Tritanopia (blue-blind)
#1F4B59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d3b84;
/* rgb */ color: rgb(61, 59, 132);
/* oklch */ color: oklch(39.6% 0.119 280.7);
Tailwind
colors: {
  custom: {
    50: '#7871a8',
    500: '#3d3b84',
    950: '#000000',
  },
}
SCSS
$custom: #3d3b84;
$custom-light: #7871a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3b84",
  "rgb": {
    "r": 61,
    "g": 59,
    "b": 132
  },
  "hsl": {
    "h": 241.644,
    "s": 38.22,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.11908,
    "h": 280.7
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#3D3B84
secondary
#AAAC6F
accent
#CE5ACB
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #3D3B84

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

Preview Lab → · Contrast checker → · Palette generator →

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