#3D39D1#3D39D1

#3D39D1 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.223 H 274.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3D39D1
RGBrgb(61, 57, 209)
HSLhsl(242, 62%, 52%)
HSVhsv(242, 73%, 82%)
CMYKcmyk(70.8%, 72.7%, 0%, 18%)
CIE-LABlab(35.04, 49.54, -77.02)
CIE-LCHlch(35.04, 91.57, 302.75°)
OKLaboklab(46.12% 0.017 -0.2227)
OKLCHoklch(46.12% 0.223 274.4)
XYZxyz(14.8924, 8.5204, 61.1690)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D39D1 #CDD139
analogous
#3981D1 #3D39D1 #8939D1
triadic
#3D39D1 #D13D39 #39D13D
tetradic
#3D39D1 #D13981 #CDD139 #39D189
square
#3D39D1 #D13981 #CDD139 #39D189
split-complementary
#3D39D1 #D18939 #81D139
monochromatic
#1D1B75 #2A27A6 #3D39D1 #6E6BDD #9E9CE8

Accessibility & contrast

On white

7.77
#3D39D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3D39D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D39D1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D39D1#FFFFFF#000000##FFFFFF
##3D39D11.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D5
Deuteranopia (green-blind)
#004BCE
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d39d1;
/* rgb */ color: rgb(61, 57, 209);
/* oklch */ color: oklch(46.1% 0.223 274.4);
Tailwind
colors: {
  custom: {
    50: '#8871e0',
    500: '#3d39d1',
    950: '#000000',
  },
}
SCSS
$custom: #3d39d1;
$custom-light: #8871e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d39d1",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 241.579,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.46115,
    "c": 0.22337,
    "h": 274.4
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#3D39D1
secondary
#D2D492
accent
#E542E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3D39D1

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

Preview Lab → · Contrast checker → · Palette generator →

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