#3D3CAA#3D3CAA

#3D3CAA is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.171 H 276.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3D3CAA
RGBrgb(61, 60, 170)
HSLhsl(241, 48%, 45%)
HSVhsv(241, 65%, 67%)
CMYKcmyk(64.1%, 64.7%, 0%, 33.3%)
CIE-LABlab(32.09, 34.84, -58.91)
CIE-LCHlch(32.09, 68.45, 300.60°)
OKLaboklab(42.89% 0.0203 -0.1698)
OKLCHoklch(42.89% 0.171 276.8)
XYZxyz(10.7937, 7.1252, 38.8289)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3CAA #A9AA3C
analogous
#3C72AA #3D3CAA #743CAA
triadic
#3D3CAA #AA3D3C #3CAA3D
tetradic
#3D3CAA #AA3C72 #A9AA3C #3CAA74
square
#3D3CAA #AA3C72 #A9AA3C #3CAA74
split-complementary
#3D3CAA #AA743C #72AA3C
monochromatic
#1D1C50 #2D2C7D #3D3CAA #5E5DC6 #8B8BD6

Accessibility & contrast

On white

8.66
#3D3CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3D3CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3CAA
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3CAA#FFFFFF#000000##FFFFFF
##3D3CAA1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d3caa;
/* rgb */ color: rgb(61, 60, 170);
/* oklch */ color: oklch(42.9% 0.171 276.8);
Tailwind
colors: {
  custom: {
    50: '#7f72c4',
    500: '#3d3caa',
    950: '#000000',
  },
}
SCSS
$custom: #3d3caa;
$custom-light: #7f72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3caa",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 240.545,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42893,
    "c": 0.17099,
    "h": 276.8
  },
  "luminance": 0.07126
}

Semantic roles & 50–950 ramp

primary
#3D3CAA
secondary
#C0C081
accent
#D750D6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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