#3D39D9#3D39D9

#3D39D9 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.9% C 0.233 H 273.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#3D39D9
RGBrgb(61, 57, 217)
HSLhsl(242, 68%, 54%)
HSVhsv(242, 74%, 85%)
CMYKcmyk(71.9%, 73.7%, 0%, 14.9%)
CIE-LABlab(35.84, 52.09, -80.32)
CIE-LCHlch(35.84, 95.73, 302.96°)
OKLaboklab(46.92% 0.0155 -0.2323)
OKLCHoklch(46.92% 0.233 273.8)
XYZxyz(15.9078, 8.9265, 66.5168)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D39D9 #D5D939
analogous
#3985D9 #3D39D9 #8D39D9
triadic
#3D39D9 #D93D39 #39D93D
tetradic
#3D39D9 #D93985 #D5D939 #39D98D
square
#3D39D9 #D93985 #D5D939 #39D98D
split-complementary
#3D39D9 #D98D39 #85D939
monochromatic
#1B187F #2622B3 #3D39D9 #6F6CE3 #A2A0ED

Accessibility & contrast

On white

7.54
#3D39D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3D39D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D39D9
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D39D9#FFFFFF#000000##FFFFFF
##3D39D91.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDE
Deuteranopia (green-blind)
#004DD6
Tritanopia (blue-blind)
#006786
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d39d9;
/* rgb */ color: rgb(61, 57, 217);
/* oklch */ color: oklch(46.9% 0.233 273.8);
Tailwind
colors: {
  custom: {
    50: '#8972e6',
    500: '#3d39d9',
    950: '#000000',
  },
}
SCSS
$custom: #3d39d9;
$custom-light: #8972e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d39d9",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 241.5,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4692,
    "c": 0.23286,
    "h": 273.8
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#3D39D9
secondary
#D7D995
accent
#EB3DE6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3D39D9

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

Preview Lab → · Contrast checker → · Palette generator →

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