#3D3FB4#3D3FB4

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

Color values

HEX#3D3FB4
RGBrgb(61, 63, 180)
HSLhsl(239, 49%, 47%)
HSVhsv(239, 66%, 71%)
CMYKcmyk(66.1%, 65%, 0%, 29.4%)
CIE-LABlab(33.65, 36.39, -62.32)
CIE-LCHlch(33.65, 72.17, 300.28°)
OKLaboklab(44.3% 0.017 -0.1798)
OKLCHoklch(44.3% 0.181 275.4)
XYZxyz(11.9375, 7.8414, 44.0556)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FB4 #B4B23D
analogous
#3D7AB4 #3D3FB4 #773DB4
triadic
#3D3FB4 #B43D3F #3FB43D
tetradic
#3D3FB4 #B43D7A #B4B23D #3DB477
square
#3D3FB4 #B43D7A #B4B23D #3DB477
split-complementary
#3D3FB4 #B4773D #7AB43D
monochromatic
#1E1F59 #2E2F86 #3D3FB4 #6466CA #9293DA

Accessibility & contrast

On white

8.18
#3D3FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D3FB4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FB4#FFFFFF#000000##FFFFFF
##3D3FB41.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d3fb4;
/* rgb */ color: rgb(61, 63, 180);
/* oklch */ color: oklch(44.3% 0.181 275.4);
Tailwind
colors: {
  custom: {
    50: '#8174cb',
    500: '#3d3fb4',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fb4;
$custom-light: #8174cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fb4",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 238.992,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44296,
    "c": 0.18057,
    "h": 275.4
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#3D3FB4
secondary
#C5C488
accent
#D74FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3D3FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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