#3D3AA6#3D3AA6

#3D3AA6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.168 H 277.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3D3AA6
RGBrgb(61, 58, 166)
HSLhsl(242, 48%, 44%)
HSVhsv(242, 65%, 65%)
CMYKcmyk(63.3%, 65.1%, 0%, 34.9%)
CIE-LABlab(31.28, 34.73, -57.84)
CIE-LCHlch(31.28, 67.47, 300.98°)
OKLaboklab(42.2% 0.0223 -0.1666)
OKLCHoklch(42.2% 0.168 277.6)
XYZxyz(10.3182, 6.7706, 36.8321)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3AA6 #A3A63A
analogous
#3A6DA6 #3D3AA6 #733AA6
triadic
#3D3AA6 #A63D3A #3AA63D
tetradic
#3D3AA6 #A63A6D #A3A63A #3AA673
square
#3D3AA6 #A63A6D #A3A63A #3AA673
split-complementary
#3D3AA6 #A6733A #6DA63A
monochromatic
#1C1A4B #2C2A79 #3D3AA6 #5B58C5 #8886D5

Accessibility & contrast

On white

8.92
#3D3AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3D3AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3AA6
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3AA6#FFFFFF#000000##FFFFFF
##3D3AA61.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0045A4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d3aa6;
/* rgb */ color: rgb(61, 58, 166);
/* oklch */ color: oklch(42.2% 0.168 277.6);
Tailwind
colors: {
  custom: {
    50: '#7f71c1',
    500: '#3d3aa6',
    950: '#000000',
  },
}
SCSS
$custom: #3d3aa6;
$custom-light: #7f71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3aa6",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 241.667,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42196,
    "c": 0.16812,
    "h": 277.6
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#3D3AA6
secondary
#BDBF7D
accent
#D850D4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D3AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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