#3D3CCC#3D3CCC

#3D3CCC is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.1% C 0.214 H 274.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3D3CCC
RGBrgb(61, 60, 204)
HSLhsl(240, 59%, 52%)
HSVhsv(240, 71%, 80%)
CMYKcmyk(70.1%, 70.6%, 0%, 20%)
CIE-LABlab(35.17, 46.22, -73.92)
CIE-LCHlch(35.17, 87.18, 302.02°)
OKLaboklab(46.06% 0.0161 -0.2137)
OKLCHoklch(46.06% 0.214 274.3)
XYZxyz(14.4358, 8.5821, 58.0108)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3CCC #CBCC3C
analogous
#3C83CC #3D3CCC #853CCC
triadic
#3D3CCC #CC3D3C #3CCC3D
tetradic
#3D3CCC #CC3C83 #CBCC3C #3CCC85
square
#3D3CCC #CC3C83 #CBCC3C #3CCC85
split-complementary
#3D3CCC #CC853C #83CC3C
monochromatic
#1E1D70 #2B2AA1 #3D3CCC #6D6DD9 #9E9DE5

Accessibility & contrast

On white

7.73
#3D3CCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3D3CCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3CCC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3CCC#FFFFFF#000000##FFFFFF
##3D3CCC1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d3ccc;
/* rgb */ color: rgb(61, 60, 204);
/* oklch */ color: oklch(46.1% 0.214 274.3);
Tailwind
colors: {
  custom: {
    50: '#8673dd',
    500: '#3d3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ccc;
$custom-light: #8673dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ccc",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 240.417,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46057,
    "c": 0.21431,
    "h": 274.3
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#3D3CCC
secondary
#D1D192
accent
#E246E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3D3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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