#3D39E3#3D39E3

#3D39E3 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.9% C 0.244 H 273.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#3D39E3
RGBrgb(61, 57, 227)
HSLhsl(241, 75%, 56%)
HSVhsv(241, 75%, 89%)
CMYKcmyk(73.1%, 74.9%, 0%, 11%)
CIE-LABlab(36.86, 55.23, -84.37)
CIE-LCHlch(36.86, 100.84, 303.21°)
OKLaboklab(47.94% 0.0136 -0.2441)
OKLCHoklch(47.94% 0.245 273.2)
XYZxyz(17.2481, 9.4626, 73.5756)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D39E3 #DFE339
analogous
#398AE3 #3D39E3 #9239E3
triadic
#3D39E3 #E33D39 #39E33D
tetradic
#3D39E3 #E3398A #DFE339 #39E392
square
#3D39E3 #E3398A #DFE339 #39E392
split-complementary
#3D39E3 #E39239 #8AE339
monochromatic
#17148E #201CC3 #3D39E3 #726FEB #A6A4F2

Accessibility & contrast

On white

7.26
#3D39E3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3D39E3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D39E3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D39E3#FFFFFF#000000##FFFFFF
##3D39E31.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE8
Deuteranopia (green-blind)
#004EE0
Tritanopia (blue-blind)
#006B8C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3d39e3;
/* rgb */ color: rgb(61, 57, 227);
/* oklch */ color: oklch(47.9% 0.244 273.2);
Tailwind
colors: {
  custom: {
    50: '#8c72ed',
    500: '#3d39e3',
    950: '#000000',
  },
}
SCSS
$custom: #3d39e3;
$custom-light: #8c72ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3d39e3",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 227
  },
  "hsl": {
    "h": 241.412,
    "s": 75.221,
    "l": 55.686
  },
  "oklch": {
    "l": 0.47942,
    "c": 0.2445,
    "h": 273.2
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#3D39E3
secondary
#DEDF99
accent
#F236ED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #3D39E3

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

Preview Lab → · Contrast checker → · Palette generator →

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