#3D3EB7#3D3EB7

#3D3EB7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.186 H 275.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3D3EB7
RGBrgb(61, 62, 183)
HSLhsl(240, 50%, 48%)
HSVhsv(240, 67%, 72%)
CMYKcmyk(66.7%, 66.1%, 0%, 28.2%)
CIE-LABlab(33.68, 38.02, -64.05)
CIE-LCHlch(33.68, 74.49, 300.70°)
OKLaboklab(44.4% 0.0175 -0.1848)
OKLCHoklch(44.4% 0.186 275.4)
XYZxyz(12.1915, 7.8552, 45.6643)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EB7 #B7B63D
analogous
#3D7BB7 #3D3EB7 #793DB7
triadic
#3D3EB7 #B73D3E #3EB73D
tetradic
#3D3EB7 #B73D7B #B7B63D #3DB779
square
#3D3EB7 #B73D7B #B7B63D #3DB779
split-complementary
#3D3EB7 #B7793D #7BB73D
monochromatic
#1E1F5B #2E2E89 #3D3EB7 #6566CC #9394DB

Accessibility & contrast

On white

8.17
#3D3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3D3EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EB7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EB7#FFFFFF#000000##FFFFFF
##3D3EB71.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d3eb7;
/* rgb */ color: rgb(61, 62, 183);
/* oklch */ color: oklch(44.4% 0.186 275.4);
Tailwind
colors: {
  custom: {
    50: '#8274ce',
    500: '#3d3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #3d3eb7;
$custom-light: #8274ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3eb7",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 239.508,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44397,
    "c": 0.18566,
    "h": 275.4
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#3D3EB7
secondary
#C6C689
accent
#D84EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3D3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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