#3D39AA#3D39AA

#3D39AA is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.175 H 277.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3D39AA
RGBrgb(61, 57, 170)
HSLhsl(242, 50%, 45%)
HSVhsv(242, 66%, 67%)
CMYKcmyk(64.1%, 66.5%, 0%, 33.3%)
CIE-LABlab(31.39, 36.70, -60.05)
CIE-LCHlch(31.39, 70.38, 301.43°)
OKLaboklab(42.39% 0.0227 -0.1731)
OKLCHoklch(42.39% 0.175 277.5)
XYZxyz(10.6409, 6.8198, 38.7780)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D39AA #A6AA39
analogous
#396EAA #3D39AA #7639AA
triadic
#3D39AA #AA3D39 #39AA3D
tetradic
#3D39AA #AA396E #A6AA39 #39AA76
square
#3D39AA #AA396E #A6AA39 #39AA76
split-complementary
#3D39AA #AA7639 #6EAA39
monochromatic
#1C1A4E #2D2A7C #3D39AA #5D59C7 #8A87D7

Accessibility & contrast

On white

8.88
#3D39AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3D39AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D39AA
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D39AA#FFFFFF#000000##FFFFFF
##3D39AA1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d39aa;
/* rgb */ color: rgb(61, 57, 170);
/* oklch */ color: oklch(42.4% 0.175 277.5);
Tailwind
colors: {
  custom: {
    50: '#8070c4',
    500: '#3d39aa',
    950: '#000000',
  },
}
SCSS
$custom: #3d39aa;
$custom-light: #8070c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d39aa",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 242.124,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42386,
    "c": 0.17463,
    "h": 277.5
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#3D39AA
secondary
#BEC17E
accent
#D94ED4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3D39AA

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

Preview Lab → · Contrast checker → · Palette generator →

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