#3B2AAE#3B2AAE

#3B2AAE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.4% C 0.196 H 278.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3B2AAE
RGBrgb(59, 42, 174)
HSLhsl(248, 61%, 42%)
HSVhsv(248, 76%, 68%)
CMYKcmyk(66.1%, 75.9%, 0%, 31.8%)
CIE-LABlab(28.49, 46.38, -67.23)
CIE-LCHlch(28.49, 81.68, 304.60°)
OKLaboklab(40.38% 0.0299 -0.1941)
OKLCHoklch(40.38% 0.196 278.7)
XYZxyz(10.2691, 5.6409, 40.5838)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AAE #9DAE2A
analogous
#2A5BAE #3B2AAE #7D2AAE
triadic
#3B2AAE #AE3B2A #2AAE3B
tetradic
#3B2AAE #AE2A5B #9DAE2A #2AAE7D
square
#3B2AAE #AE2A5B #9DAE2A #2AAE7D
split-complementary
#3B2AAE #AE7D2A #5BAE2A
monochromatic
#1A124B #2A1E7D #3B2AAE #5643D2 #8275DE

Accessibility & contrast

On white

9.87
#3B2AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3B2AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2AAE
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AAE#FFFFFF#000000##FFFFFF
##3B2AAE1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2aae;
/* rgb */ color: rgb(59, 42, 174);
/* oklch */ color: oklch(40.4% 0.196 278.7);
Tailwind
colors: {
  custom: {
    50: '#8166c7',
    500: '#3b2aae',
    950: '#000000',
  },
}
SCSS
$custom: #3b2aae;
$custom-light: #8166c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2aae",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 247.727,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40384,
    "c": 0.19643,
    "h": 278.7
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#3B2AAE
secondary
#BAC56F
accent
#E444D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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