#3D3B83#3D3B83

#3D3B83 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.5% C 0.118 H 280.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#3D3B83
RGBrgb(61, 59, 131)
HSLhsl(242, 38%, 37%)
HSVhsv(242, 55%, 51%)
CMYKcmyk(53.4%, 55%, 0%, 48.6%)
CIE-LABlab(28.79, 22.18, -40.45)
CIE-LCHlch(28.79, 46.13, 298.74°)
OKLaboklab(39.5% 0.0221 -0.1155)
OKLCHoklch(39.5% 0.118 280.8)
XYZxyz(7.5839, 5.7583, 22.1802)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3B83 #81833B
analogous
#3B5D83 #3D3B83 #613B83
triadic
#3D3B83 #833D3B #3B833D
tetradic
#3D3B83 #833B5D #81833B #3B8361
square
#3D3B83 #833B5D #81833B #3B8361
split-complementary
#3D3B83 #83613B #5D833B
monochromatic
#16152F #292859 #3D3B83 #514EAD #7977C2

Accessibility & contrast

On white

9.76
#3D3B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D3B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3B83
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3B83#FFFFFF#000000##FFFFFF
##3D3B831.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134786
Deuteranopia (green-blind)
#0A4181
Tritanopia (blue-blind)
#204B59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d3b83;
/* rgb */ color: rgb(61, 59, 131);
/* oklch */ color: oklch(39.5% 0.118 280.8);
Tailwind
colors: {
  custom: {
    50: '#7871a7',
    500: '#3d3b83',
    950: '#000000',
  },
}
SCSS
$custom: #3d3b83;
$custom-light: #7871a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3b83",
  "rgb": {
    "r": 61,
    "g": 59,
    "b": 131
  },
  "hsl": {
    "h": 241.667,
    "s": 37.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39502,
    "c": 0.1176,
    "h": 280.8
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#3D3B83
secondary
#A9AB6F
accent
#CE5ACB
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3D3B83

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

Preview Lab → · Contrast checker → · Palette generator →

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