#3B3AAD#3B3AAD

#3B3AAD is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.178 H 276.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3B3AAD
RGBrgb(59, 58, 173)
HSLhsl(241, 50%, 45%)
HSVhsv(241, 66%, 68%)
CMYKcmyk(65.9%, 66.5%, 0%, 32.2%)
CIE-LABlab(31.74, 36.81, -61.28)
CIE-LCHlch(31.74, 71.49, 300.99°)
OKLaboklab(42.68% 0.0191 -0.1768)
OKLCHoklch(42.68% 0.178 276.2)
XYZxyz(10.8570, 6.9721, 40.3007)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3AAD #ACAD3A
analogous
#3A72AD #3B3AAD #753AAD
triadic
#3B3AAD #AD3B3A #3AAD3B
tetradic
#3B3AAD #AD3A72 #ACAD3A #3AAD75
square
#3B3AAD #AD3A72 #ACAD3A #3AAD75
split-complementary
#3B3AAD #AD753A #72AD3A
monochromatic
#1C1B51 #2B2B7F #3B3AAD #5D5CC8 #8A8AD8

Accessibility & contrast

On white

8.77
#3B3AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3B3AAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3AAD
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3AAD#FFFFFF#000000##FFFFFF
##3B3AAD1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3b3aad;
/* rgb */ color: rgb(59, 58, 173);
/* oklch */ color: oklch(42.7% 0.178 276.2);
Tailwind
colors: {
  custom: {
    50: '#7f71c6',
    500: '#3b3aad',
    950: '#000000',
  },
}
SCSS
$custom: #3b3aad;
$custom-light: #7f71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3aad",
  "rgb": {
    "r": 59,
    "g": 58,
    "b": 173
  },
  "hsl": {
    "h": 240.522,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42684,
    "c": 0.17783,
    "h": 276.2
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#3B3AAD
secondary
#C1C281
accent
#D94ED8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3B3AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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