#3D3EB9#3D3EB9

#3D3EB9 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.6% C 0.188 H 275.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3D3EB9
RGBrgb(61, 62, 185)
HSLhsl(240, 50%, 48%)
HSVhsv(240, 67%, 73%)
CMYKcmyk(67%, 66.5%, 0%, 27.5%)
CIE-LABlab(33.86, 38.70, -64.94)
CIE-LCHlch(33.86, 75.60, 300.79°)
OKLaboklab(44.58% 0.0173 -0.1875)
OKLCHoklch(44.58% 0.188 275.3)
XYZxyz(12.4012, 7.9390, 46.7684)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EB9 #B9B83D
analogous
#3D7CB9 #3D3EB9 #7A3DB9
triadic
#3D3EB9 #B93D3E #3EB93D
tetradic
#3D3EB9 #B93D7C #B9B83D #3DB97A
square
#3D3EB9 #B93D7C #B9B83D #3DB97A
split-complementary
#3D3EB9 #B97A3D #7CB93D
monochromatic
#1F1F5D #2E2F8B #3D3EB9 #6667CD #9595DC

Accessibility & contrast

On white

8.11
#3D3EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3D3EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EB9
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EB9#FFFFFF#000000##FFFFFF
##3D3EB91.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d3eb9;
/* rgb */ color: rgb(61, 62, 185);
/* oklch */ color: oklch(44.6% 0.188 275.3);
Tailwind
colors: {
  custom: {
    50: '#8274cf',
    500: '#3d3eb9',
    950: '#000000',
  },
}
SCSS
$custom: #3d3eb9;
$custom-light: #8274cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3eb9",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 239.516,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4458,
    "c": 0.18825,
    "h": 275.3
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#3D3EB9
secondary
#C7C78B
accent
#D94EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3D3EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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