#3D3E85#3D3E85

#3D3E85 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.3% C 0.116 H 279.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#3D3E85
RGBrgb(61, 62, 133)
HSLhsl(239, 37%, 38%)
HSVhsv(239, 54%, 52%)
CMYKcmyk(54.1%, 53.4%, 0%, 47.8%)
CIE-LABlab(29.74, 20.87, -40.17)
CIE-LCHlch(29.74, 45.27, 297.45°)
OKLaboklab(40.25% 0.0186 -0.1147)
OKLCHoklch(40.25% 0.116 279.2)
XYZxyz(7.8794, 6.1303, 22.9538)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3E85 #85843D
analogous
#3D6285 #3D3E85 #603D85
triadic
#3D3E85 #853D3E #3E853D
tetradic
#3D3E85 #853D62 #85843D #3D8560
square
#3D3E85 #853D62 #85843D #3D8560
split-complementary
#3D3E85 #85603D #62853D
monochromatic
#171731 #2A2A5B #3D3E85 #5052AF #7A7BC2

Accessibility & contrast

On white

9.43
#3D3E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3D3E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3E85
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3E85#FFFFFF#000000##FFFFFF
##3D3E851.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194988
Deuteranopia (green-blind)
#104383
Tritanopia (blue-blind)
#1E4E5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d3e85;
/* rgb */ color: rgb(61, 62, 133);
/* oklch */ color: oklch(40.3% 0.116 279.2);
Tailwind
colors: {
  custom: {
    50: '#7873a9',
    500: '#3d3e85',
    950: '#000000',
  },
}
SCSS
$custom: #3d3e85;
$custom-light: #7873a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3e85",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 133
  },
  "hsl": {
    "h": 239.167,
    "s": 37.113,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.11618,
    "h": 279.2
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#3D3E85
secondary
#ACAB72
accent
#CC5BCD
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #3D3E85

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

Preview Lab → · Contrast checker → · Palette generator →

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