#3D39B4#3D39B4

#3D39B4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.188 H 276.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#3D39B4
RGBrgb(61, 57, 180)
HSLhsl(242, 52%, 46%)
HSVhsv(242, 68%, 71%)
CMYKcmyk(66.1%, 68.3%, 0%, 29.4%)
CIE-LABlab(32.29, 40.05, -64.56)
CIE-LCHlch(32.29, 75.97, 301.81°)
OKLaboklab(43.31% 0.0215 -0.1863)
OKLCHoklch(43.31% 0.188 276.6)
XYZxyz(11.6231, 7.2126, 43.9508)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D39B4 #B0B439
analogous
#3973B4 #3D39B4 #7B39B4
triadic
#3D39B4 #B43D39 #39B43D
tetradic
#3D39B4 #B43973 #B0B439 #39B47B
square
#3D39B4 #B43973 #B0B439 #39B47B
split-complementary
#3D39B4 #B47B39 #73B439
monochromatic
#1D1C57 #2D2A86 #3D39B4 #625ECC #8F8DDB

Accessibility & contrast

On white

8.60
#3D39B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3D39B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D39B4
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D39B4#FFFFFF#000000##FFFFFF
##3D39B41.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d39b4;
/* rgb */ color: rgb(61, 57, 180);
/* oklch */ color: oklch(43.3% 0.188 276.6);
Tailwind
colors: {
  custom: {
    50: '#8270cc',
    500: '#3d39b4',
    950: '#000000',
  },
}
SCSS
$custom: #3d39b4;
$custom-light: #8270cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d39b4",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 241.951,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.18757,
    "h": 276.6
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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