#3D39B5#3D39B5

#3D39B5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.189 H 276.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3D39B5
RGBrgb(61, 57, 181)
HSLhsl(242, 52%, 47%)
HSVhsv(242, 69%, 71%)
CMYKcmyk(66.3%, 68.5%, 0%, 29%)
CIE-LABlab(32.38, 40.38, -65.00)
CIE-LCHlch(32.38, 76.52, 301.85°)
OKLaboklab(43.4% 0.0214 -0.1876)
OKLCHoklch(43.4% 0.189 276.5)
XYZxyz(11.7254, 7.2535, 44.4893)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D39B5 #B1B539
analogous
#3973B5 #3D39B5 #7B39B5
triadic
#3D39B5 #B53D39 #39B53D
tetradic
#3D39B5 #B53973 #B1B539 #39B57B
square
#3D39B5 #B53973 #B1B539 #39B57B
split-complementary
#3D39B5 #B57B39 #73B539
monochromatic
#1E1C58 #2D2A86 #3D39B5 #625FCD #908DDB

Accessibility & contrast

On white

8.57
#3D39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3D39B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D39B5
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D39B5#FFFFFF#000000##FFFFFF
##3D39B51.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d39b5;
/* rgb */ color: rgb(61, 57, 181);
/* oklch */ color: oklch(43.4% 0.189 276.5);
Tailwind
colors: {
  custom: {
    50: '#8270cc',
    500: '#3d39b5',
    950: '#000000',
  },
}
SCSS
$custom: #3d39b5;
$custom-light: #8270cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d39b5",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 241.935,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.434,
    "c": 0.18884,
    "h": 276.5
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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