#3D39B7#3D39B7

#3D39B7 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.6% C 0.191 H 276.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3D39B7
RGBrgb(61, 57, 183)
HSLhsl(242, 53%, 47%)
HSVhsv(242, 69%, 72%)
CMYKcmyk(66.7%, 68.9%, 0%, 28.2%)
CIE-LABlab(32.56, 41.05, -65.89)
CIE-LCHlch(32.56, 77.63, 301.92°)
OKLaboklab(43.59% 0.0211 -0.1902)
OKLCHoklch(43.59% 0.191 276.3)
XYZxyz(11.9320, 7.3362, 45.5778)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D39B7 #B3B739
analogous
#3974B7 #3D39B7 #7C39B7
triadic
#3D39B7 #B73D39 #39B73D
tetradic
#3D39B7 #B73974 #B3B739 #39B77C
square
#3D39B7 #B73974 #B3B739 #39B77C
split-complementary
#3D39B7 #B77C39 #74B739
monochromatic
#1E1C5A #2D2A88 #3D39B7 #6360CD #918EDC

Accessibility & contrast

On white

8.51
#3D39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3D39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D39B7
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D39B7#FFFFFF#000000##FFFFFF
##3D39B71.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3d39b7;
/* rgb */ color: rgb(61, 57, 183);
/* oklch */ color: oklch(43.6% 0.191 276.3);
Tailwind
colors: {
  custom: {
    50: '#8270ce',
    500: '#3d39b7',
    950: '#000000',
  },
}
SCSS
$custom: #3d39b7;
$custom-light: #8270ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d39b7",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 241.905,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.19139,
    "h": 276.3
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#3D39B7
secondary
#C5C785
accent
#DC4CD7
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3D39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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