#3D3CAC#3D3CAC

#3D3CAC is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.174 H 276.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3D3CAC
RGBrgb(61, 60, 172)
HSLhsl(241, 48%, 45%)
HSVhsv(241, 65%, 67%)
CMYKcmyk(64.5%, 65.1%, 0%, 32.5%)
CIE-LABlab(32.26, 35.52, -59.83)
CIE-LCHlch(32.26, 69.58, 300.70°)
OKLaboklab(43.07% 0.0201 -0.1725)
OKLCHoklch(43.07% 0.174 276.6)
XYZxyz(10.9843, 7.2015, 39.8329)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3CAC #ABAC3C
analogous
#3C73AC #3D3CAC #753CAC
triadic
#3D3CAC #AC3D3C #3CAC3D
tetradic
#3D3CAC #AC3C73 #ABAC3C #3CAC75
square
#3D3CAC #AC3C73 #ABAC3C #3CAC75
split-complementary
#3D3CAC #AC753C #73AC3C
monochromatic
#1D1C51 #2D2C7F #3D3CAC #5F5EC7 #8C8CD7

Accessibility & contrast

On white

8.61
#3D3CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3D3CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3CAC
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3CAC#FFFFFF#000000##FFFFFF
##3D3CAC1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d3cac;
/* rgb */ color: rgb(61, 60, 172);
/* oklch */ color: oklch(43.1% 0.174 276.6);
Tailwind
colors: {
  custom: {
    50: '#8072c6',
    500: '#3d3cac',
    950: '#000000',
  },
}
SCSS
$custom: #3d3cac;
$custom-light: #8072c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3cac",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 240.536,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43071,
    "c": 0.17364,
    "h": 276.6
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#3D3CAC
secondary
#C1C182
accent
#D850D7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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