#3B2EAA#3B2EAA

#3B2EAA is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.187 H 278.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#3B2EAA
RGBrgb(59, 46, 170)
HSLhsl(246, 57%, 42%)
HSVhsv(246, 73%, 67%)
CMYKcmyk(65.3%, 72.9%, 0%, 33.3%)
CIE-LABlab(28.86, 42.93, -64.21)
CIE-LCHlch(28.86, 77.24, 303.77°)
OKLaboklab(40.53% 0.0282 -0.1853)
OKLCHoklch(40.53% 0.187 278.7)
XYZxyz(10.0340, 5.7853, 38.6103)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EAA #9DAA2E
analogous
#2E5FAA #3B2EAA #792EAA
triadic
#3B2EAA #AA3B2E #2EAA3B
tetradic
#3B2EAA #AA2E5F #9DAA2E #2EAA79
square
#3B2EAA #AA2E5F #9DAA2E #2EAA79
split-complementary
#3B2EAA #AA792E #5FAA2E
monochromatic
#1A144A #2A217A #3B2EAA #5648CD #8278DA

Accessibility & contrast

On white

9.73
#3B2EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3B2EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2EAA
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EAA#FFFFFF#000000##FFFFFF
##3B2EAA1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b2eaa;
/* rgb */ color: rgb(59, 46, 170);
/* oklch */ color: oklch(40.5% 0.187 278.7);
Tailwind
colors: {
  custom: {
    50: '#8069c4',
    500: '#3b2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #3b2eaa;
$custom-light: #8069c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2eaa",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 246.29,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4053,
    "c": 0.18749,
    "h": 278.7
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#3B2EAA
secondary
#BAC371
accent
#E147D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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