#3D3CA6#3D3CA6

#3D3CA6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.166 H 277.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3D3CA6
RGBrgb(61, 60, 166)
HSLhsl(241, 47%, 44%)
HSVhsv(241, 64%, 65%)
CMYKcmyk(63.3%, 63.9%, 0%, 34.9%)
CIE-LABlab(31.75, 33.48, -57.06)
CIE-LCHlch(31.75, 66.16, 300.40°)
OKLaboklab(42.54% 0.0206 -0.1644)
OKLCHoklch(42.54% 0.166 277.1)
XYZxyz(10.4210, 6.9762, 36.8664)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3CA6 #A5A63C
analogous
#3C70A6 #3D3CA6 #723CA6
triadic
#3D3CA6 #A63D3C #3CA63D
tetradic
#3D3CA6 #A63C70 #A5A63C #3CA672
square
#3D3CA6 #A63C70 #A5A63C #3CA672
split-complementary
#3D3CA6 #A6723C #70A63C
monochromatic
#1C1C4C #2C2C79 #3D3CA6 #5C5BC4 #8988D4

Accessibility & contrast

On white

8.77
#3D3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3D3CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3CA6
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3CA6#FFFFFF#000000##FFFFFF
##3D3CA61.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d3ca6;
/* rgb */ color: rgb(61, 60, 166);
/* oklch */ color: oklch(42.5% 0.166 277.1);
Tailwind
colors: {
  custom: {
    50: '#7f72c1',
    500: '#3d3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ca6;
$custom-light: #7f72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ca6",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 240.566,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42542,
    "c": 0.16564,
    "h": 277.1
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#3D3CA6
secondary
#BEBE7F
accent
#D751D5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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