#3D3D83#3D3D83

#3D3D83 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.9% C 0.115 H 279.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#3D3D83
RGBrgb(61, 61, 131)
HSLhsl(240, 36%, 38%)
HSVhsv(240, 53%, 51%)
CMYKcmyk(53.4%, 53.4%, 0%, 48.6%)
CIE-LABlab(29.33, 20.85, -39.58)
CIE-LCHlch(29.33, 44.74, 297.78°)
OKLaboklab(39.9% 0.0196 -0.113)
OKLCHoklch(39.9% 0.115 279.9)
XYZxyz(7.6887, 5.9678, 22.2151)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3D83 #83833D
analogous
#3D6083 #3D3D83 #603D83
triadic
#3D3D83 #833D3D #3D833D
tetradic
#3D3D83 #833D60 #83833D #3D8360
square
#3D3D83 #833D60 #83833D #3D8360
split-complementary
#3D3D83 #83603D #60833D
monochromatic
#16162F #2A2A59 #3D3D83 #5050AD #7A7AC1

Accessibility & contrast

On white

9.57
#3D3D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3D3D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3D83
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3D83#FFFFFF#000000##FFFFFF
##3D3D831.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194885
Deuteranopia (green-blind)
#114281
Tritanopia (blue-blind)
#204D5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d3d83;
/* rgb */ color: rgb(61, 61, 131);
/* oklch */ color: oklch(39.9% 0.115 279.9);
Tailwind
colors: {
  custom: {
    50: '#7872a7',
    500: '#3d3d83',
    950: '#000000',
  },
}
SCSS
$custom: #3d3d83;
$custom-light: #7872a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3d83",
  "rgb": {
    "r": 61,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 36.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.11465,
    "h": 279.9
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#3D3D83
secondary
#ABAB71
accent
#CC5BCC
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #3D3D83

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

Preview Lab → · Contrast checker → · Palette generator →

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