#3D3CA5#3D3CA5

#3D3CA5 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.164 H 277.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3D3CA5
RGBrgb(61, 60, 165)
HSLhsl(241, 47%, 44%)
HSVhsv(241, 64%, 65%)
CMYKcmyk(63%, 63.6%, 0%, 35.3%)
CIE-LABlab(31.67, 33.14, -56.60)
CIE-LCHlch(31.67, 65.59, 300.35°)
OKLaboklab(42.45% 0.0206 -0.163)
OKLCHoklch(42.45% 0.164 277.2)
XYZxyz(10.3297, 6.9396, 36.3851)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3CA5 #A4A53C
analogous
#3C70A5 #3D3CA5 #723CA5
triadic
#3D3CA5 #A53D3C #3CA53D
tetradic
#3D3CA5 #A53C70 #A4A53C #3CA572
square
#3D3CA5 #A53C70 #A4A53C #3CA572
split-complementary
#3D3CA5 #A5723C #70A53C
monochromatic
#1C1B4B #2C2C78 #3D3CA5 #5C5BC3 #8888D4

Accessibility & contrast

On white

8.79
#3D3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3D3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3CA5
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3CA5#FFFFFF#000000##FFFFFF
##3D3CA51.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d3ca5;
/* rgb */ color: rgb(61, 60, 165);
/* oklch */ color: oklch(42.5% 0.164 277.2);
Tailwind
colors: {
  custom: {
    50: '#7e72c1',
    500: '#3d3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ca5;
$custom-light: #7e72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ca5",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 240.571,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.1643,
    "h": 277.2
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#3D3CA5
secondary
#BDBE7F
accent
#D651D5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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