#3D3BAD#3D3BAD

#3D3BAD is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.176 H 276.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3D3BAD
RGBrgb(61, 59, 173)
HSLhsl(241, 49%, 45%)
HSVhsv(241, 66%, 68%)
CMYKcmyk(64.7%, 65.9%, 0%, 32.2%)
CIE-LABlab(32.12, 36.48, -60.67)
CIE-LCHlch(32.12, 70.79, 301.02°)
OKLaboklab(42.99% 0.0208 -0.1749)
OKLCHoklch(42.99% 0.176 276.8)
XYZxyz(11.0288, 7.1362, 40.3233)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3BAD #ABAD3B
analogous
#3B72AD #3D3BAD #763BAD
triadic
#3D3BAD #AD3D3B #3BAD3D
tetradic
#3D3BAD #AD3B72 #ABAD3B #3BAD76
square
#3D3BAD #AD3B72 #ABAD3B #3BAD76
split-complementary
#3D3BAD #AD763B #72AD3B
monochromatic
#1D1C52 #2D2B7F #3D3BAD #5F5DC8 #8C8BD7

Accessibility & contrast

On white

8.65
#3D3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D3BAD
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3BAD#FFFFFF#000000##FFFFFF
##3D3BAD1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d3bad;
/* rgb */ color: rgb(61, 59, 173);
/* oklch */ color: oklch(43.0% 0.176 276.8);
Tailwind
colors: {
  custom: {
    50: '#8071c6',
    500: '#3d3bad',
    950: '#000000',
  },
}
SCSS
$custom: #3d3bad;
$custom-light: #8071c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3bad",
  "rgb": {
    "r": 61,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 241.053,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.17617,
    "h": 276.8
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#3D3BAD
secondary
#C1C282
accent
#D94FD6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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