#3D3EB6#3D3EB6

#3D3EB6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.184 H 275.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3D3EB6
RGBrgb(61, 62, 182)
HSLhsl(240, 50%, 48%)
HSVhsv(240, 66%, 71%)
CMYKcmyk(66.5%, 65.9%, 0%, 28.6%)
CIE-LABlab(33.59, 37.69, -63.60)
CIE-LCHlch(33.59, 73.93, 300.65°)
OKLaboklab(44.31% 0.0176 -0.1835)
OKLCHoklch(44.31% 0.184 275.5)
XYZxyz(12.0878, 7.8137, 45.1181)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EB6 #B6B53D
analogous
#3D7BB6 #3D3EB6 #783DB6
triadic
#3D3EB6 #B63D3E #3EB63D
tetradic
#3D3EB6 #B63D7B #B6B53D #3DB678
square
#3D3EB6 #B63D7B #B6B53D #3DB678
split-complementary
#3D3EB6 #B6783D #7BB63D
monochromatic
#1E1F5A #2E2E88 #3D3EB6 #6566CB #9393DB

Accessibility & contrast

On white

8.19
#3D3EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3D3EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EB6
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EB6#FFFFFF#000000##FFFFFF
##3D3EB61.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d3eb6;
/* rgb */ color: rgb(61, 62, 182);
/* oklch */ color: oklch(44.3% 0.184 275.5);
Tailwind
colors: {
  custom: {
    50: '#8274cd',
    500: '#3d3eb6',
    950: '#000000',
  },
}
SCSS
$custom: #3d3eb6;
$custom-light: #8274cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3eb6",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 239.504,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44307,
    "c": 0.18437,
    "h": 275.5
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#3D3EB6
secondary
#C6C589
accent
#D84ED9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3D3EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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