#3D39C6#3D39C6

#3D39C6 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.210 H 275.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3D39C6
RGBrgb(61, 57, 198)
HSLhsl(242, 55%, 50%)
HSVhsv(242, 71%, 78%)
CMYKcmyk(69.2%, 71.2%, 0%, 22.4%)
CIE-LABlab(33.97, 45.98, -72.39)
CIE-LCHlch(33.97, 85.76, 302.42°)
OKLaboklab(45.03% 0.0188 -0.2092)
OKLCHoklch(45.03% 0.21 275.1)
XYZxyz(13.5773, 7.9943, 54.2427)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D39C6 #C2C639
analogous
#397CC6 #3D39C6 #8339C6
triadic
#3D39C6 #C63D39 #39C63D
tetradic
#3D39C6 #C6397C #C2C639 #39C683
square
#3D39C6 #C6397C #C2C639 #39C683
split-complementary
#3D39C6 #C68339 #7CC639
monochromatic
#201E67 #2E2B96 #3D39C6 #6C69D4 #9A98E1

Accessibility & contrast

On white

8.08
#3D39C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3D39C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D39C6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D39C6#FFFFFF#000000##FFFFFF
##3D39C61.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d39c6;
/* rgb */ color: rgb(61, 57, 198);
/* oklch */ color: oklch(45.0% 0.210 275.1);
Tailwind
colors: {
  custom: {
    50: '#8571d9',
    500: '#3d39c6',
    950: '#000000',
  },
}
SCSS
$custom: #3d39c6;
$custom-light: #8571d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d39c6",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 241.702,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.21007,
    "h": 275.1
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#3D39C6
secondary
#CBCD8E
accent
#DF49DA
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3D39C6

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

Preview Lab → · Contrast checker → · Palette generator →

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