#3D3AB2#3D3AB2

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

Color values

HEX#3D3AB2
RGBrgb(61, 58, 178)
HSLhsl(242, 51%, 46%)
HSVhsv(242, 67%, 70%)
CMYKcmyk(65.7%, 67.4%, 0%, 30.2%)
CIE-LABlab(32.33, 38.78, -63.30)
CIE-LCHlch(32.33, 74.23, 301.49°)
OKLaboklab(43.28% 0.021 -0.1826)
OKLCHoklch(43.28% 0.184 276.6)
XYZxyz(11.4708, 7.2316, 42.9022)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3AB2 #AFB23A
analogous
#3A73B2 #3D3AB2 #793AB2
triadic
#3D3AB2 #B23D3A #3AB23D
tetradic
#3D3AB2 #B23A73 #AFB23A #3AB279
square
#3D3AB2 #B23A73 #AFB23A #3AB279
split-complementary
#3D3AB2 #B2793A #73B23A
monochromatic
#1D1C56 #2D2B84 #3D3AB2 #615FCB #8F8DDA

Accessibility & contrast

On white

8.58
#3D3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3D3AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3AB2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3AB2#FFFFFF#000000##FFFFFF
##3D3AB21.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d3ab2;
/* rgb */ color: rgb(61, 58, 178);
/* oklch */ color: oklch(43.3% 0.184 276.6);
Tailwind
colors: {
  custom: {
    50: '#8171ca',
    500: '#3d3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ab2;
$custom-light: #8171ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ab2",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 241.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43282,
    "c": 0.18386,
    "h": 276.6
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#3D3AB2
secondary
#C3C483
accent
#DA4DD7
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3D3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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