#3D3EA9#3D3EA9

#3D3EA9 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.167 H 276.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3D3EA9
RGBrgb(61, 62, 169)
HSLhsl(239, 47%, 45%)
HSVhsv(239, 64%, 66%)
CMYKcmyk(63.9%, 63.3%, 0%, 33.7%)
CIE-LABlab(32.48, 33.25, -57.67)
CIE-LCHlch(32.48, 66.57, 299.96°)
OKLaboklab(43.15% 0.0186 -0.1661)
OKLCHoklch(43.15% 0.167 276.4)
XYZxyz(10.8062, 7.3010, 38.3682)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EA9 #A9A83D
analogous
#3D74A9 #3D3EA9 #723DA9
triadic
#3D3EA9 #A93D3E #3EA93D
tetradic
#3D3EA9 #A93D74 #A9A83D #3DA972
square
#3D3EA9 #A93D74 #A9A83D #3DA972
split-complementary
#3D3EA9 #A9723D #74A93D
monochromatic
#1D1D4F #2D2E7C #3D3EA9 #5E5FC5 #8B8CD5

Accessibility & contrast

On white

8.54
#3D3EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3D3EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EA9
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EA9#FFFFFF#000000##FFFFFF
##3D3EA91.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d3ea9;
/* rgb */ color: rgb(61, 62, 169);
/* oklch */ color: oklch(43.2% 0.167 276.4);
Tailwind
colors: {
  custom: {
    50: '#7f73c3',
    500: '#3d3ea9',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ea9;
$custom-light: #7f73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ea9",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 239.444,
    "s": 46.957,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.16718,
    "h": 276.4
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#3D3EA9
secondary
#C0BF82
accent
#D551D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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