#3D39B9#3D39B9

#3D39B9 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.8% C 0.194 H 276.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3D39B9
RGBrgb(61, 57, 185)
HSLhsl(242, 53%, 47%)
HSVhsv(242, 69%, 73%)
CMYKcmyk(67%, 69.2%, 0%, 27.5%)
CIE-LABlab(32.74, 41.71, -66.77)
CIE-LCHlch(32.74, 78.72, 301.99°)
OKLaboklab(43.78% 0.0208 -0.1928)
OKLCHoklch(43.78% 0.194 276.2)
XYZxyz(12.1417, 7.4201, 46.6819)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D39B9 #B5B939
analogous
#3975B9 #3D39B9 #7D39B9
triadic
#3D39B9 #B93D39 #39B93D
tetradic
#3D39B9 #B93975 #B5B939 #39B97D
square
#3D39B9 #B93975 #B5B939 #39B97D
split-complementary
#3D39B9 #B97D39 #75B939
monochromatic
#1E1C5B #2E2B8A #3D39B9 #6461CE #9290DD

Accessibility & contrast

On white

8.45
#3D39B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3D39B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D39B9
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D39B9#FFFFFF#000000##FFFFFF
##3D39B91.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3d39b9;
/* rgb */ color: rgb(61, 57, 185);
/* oklch */ color: oklch(43.8% 0.194 276.2);
Tailwind
colors: {
  custom: {
    50: '#8370cf',
    500: '#3d39b9',
    950: '#000000',
  },
}
SCSS
$custom: #3d39b9;
$custom-light: #8370cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d39b9",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 241.875,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43777,
    "c": 0.19392,
    "h": 276.2
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#3D39B9
secondary
#C5C886
accent
#DC4BD8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3D39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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