#3D39B3#3D39B3

#3D39B3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.186 H 276.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3D39B3
RGBrgb(61, 57, 179)
HSLhsl(242, 52%, 46%)
HSVhsv(242, 68%, 70%)
CMYKcmyk(65.9%, 68.2%, 0%, 29.8%)
CIE-LABlab(32.20, 39.72, -64.11)
CIE-LCHlch(32.20, 75.42, 301.78°)
OKLaboklab(43.21% 0.0216 -0.185)
OKLCHoklch(43.21% 0.186 276.7)
XYZxyz(11.5216, 7.1720, 43.4163)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D39B3 #AFB339
analogous
#3972B3 #3D39B3 #7A39B3
triadic
#3D39B3 #B33D39 #39B33D
tetradic
#3D39B3 #B33972 #AFB339 #39B37A
square
#3D39B3 #B33972 #AFB339 #39B37A
split-complementary
#3D39B3 #B37A39 #72B339
monochromatic
#1D1B56 #2D2A85 #3D39B3 #615ECC #8F8CDA

Accessibility & contrast

On white

8.63
#3D39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3D39B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D39B3
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D39B3#FFFFFF#000000##FFFFFF
##3D39B31.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d39b3;
/* rgb */ color: rgb(61, 57, 179);
/* oklch */ color: oklch(43.2% 0.186 276.7);
Tailwind
colors: {
  custom: {
    50: '#8170cb',
    500: '#3d39b3',
    950: '#000000',
  },
}
SCSS
$custom: #3d39b3;
$custom-light: #8170cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d39b3",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 241.967,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43213,
    "c": 0.18629,
    "h": 276.7
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#3D39B3
secondary
#C3C583
accent
#DB4DD6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3D39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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