#3D3EA5#3D3EA5

#3D3EA5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.162 H 276.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3D3EA5
RGBrgb(61, 62, 165)
HSLhsl(239, 46%, 44%)
HSVhsv(239, 63%, 65%)
CMYKcmyk(63%, 62.4%, 0%, 35.3%)
CIE-LABlab(32.15, 31.87, -55.81)
CIE-LCHlch(32.15, 64.27, 299.73°)
OKLaboklab(42.81% 0.0189 -0.1607)
OKLCHoklch(42.81% 0.162 276.7)
XYZxyz(10.4364, 7.1531, 36.4207)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EA5 #A5A43D
analogous
#3D72A5 #3D3EA5 #703DA5
triadic
#3D3EA5 #A53D3E #3EA53D
tetradic
#3D3EA5 #A53D72 #A5A43D #3DA570
square
#3D3EA5 #A53D72 #A5A43D #3DA570
split-complementary
#3D3EA5 #A5703D #72A53D
monochromatic
#1C1C4C #2C2D78 #3D3EA5 #5C5DC3 #898AD3

Accessibility & contrast

On white

8.64
#3D3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3D3EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EA5
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EA5#FFFFFF#000000##FFFFFF
##3D3EA51.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d3ea5;
/* rgb */ color: rgb(61, 62, 165);
/* oklch */ color: oklch(42.8% 0.162 276.7);
Tailwind
colors: {
  custom: {
    50: '#7e73c1',
    500: '#3d3ea5',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ea5;
$custom-light: #7e73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ea5",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 239.423,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.16177,
    "h": 276.7
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#3D3EA5
secondary
#BEBD80
accent
#D452D6
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D3EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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