#3D3EAB#3D3EAB

#3D3EAB is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.170 H 276.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3D3EAB
RGBrgb(61, 62, 171)
HSLhsl(239, 47%, 45%)
HSVhsv(239, 64%, 67%)
CMYKcmyk(64.3%, 63.7%, 0%, 32.9%)
CIE-LABlab(32.65, 33.93, -58.60)
CIE-LCHlch(32.65, 67.71, 300.07°)
OKLaboklab(43.33% 0.0185 -0.1689)
OKLCHoklch(43.33% 0.17 276.3)
XYZxyz(10.9954, 7.3767, 39.3646)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EAB #ABAA3D
analogous
#3D75AB #3D3EAB #733DAB
triadic
#3D3EAB #AB3D3E #3EAB3D
tetradic
#3D3EAB #AB3D75 #ABAA3D #3DAB73
square
#3D3EAB #AB3D75 #ABAA3D #3DAB73
split-complementary
#3D3EAB #AB733D #75AB3D
monochromatic
#1D1D51 #2D2E7E #3D3EAB #5F60C6 #8C8DD6

Accessibility & contrast

On white

8.48
#3D3EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3D3EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EAB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EAB#FFFFFF#000000##FFFFFF
##3D3EAB1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3d3eab;
/* rgb */ color: rgb(61, 62, 171);
/* oklch */ color: oklch(43.3% 0.170 276.3);
Tailwind
colors: {
  custom: {
    50: '#7f73c5',
    500: '#3d3eab',
    950: '#000000',
  },
}
SCSS
$custom: #3d3eab;
$custom-light: #7f73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3eab",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 239.455,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43328,
    "c": 0.16987,
    "h": 276.3
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#3D3EAB
secondary
#C1C083
accent
#D651D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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