#3B2AA9#3B2AA9

#3B2AA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.9% C 0.190 H 279.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3B2AA9
RGBrgb(59, 42, 169)
HSLhsl(248, 60%, 41%)
HSVhsv(248, 75%, 66%)
CMYKcmyk(65.1%, 75.1%, 0%, 33.7%)
CIE-LABlab(27.98, 44.82, -65.07)
CIE-LCHlch(27.98, 79.01, 304.56°)
OKLaboklab(39.87% 0.0311 -0.1878)
OKLCHoklch(39.87% 0.19 279.4)
XYZxyz(9.7907, 5.4495, 38.0643)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AA9 #98A92A
analogous
#2A59A9 #3B2AA9 #7B2AA9
triadic
#3B2AA9 #A93B2A #2AA93B
tetradic
#3B2AA9 #A92A59 #98A92A #2AA97B
square
#3B2AA9 #A92A59 #98A92A #2AA97B
split-complementary
#3B2AA9 #A97B2A #59A92A
monochromatic
#191247 #2A1E78 #3B2AA9 #5441D0 #8072DC

Accessibility & contrast

On white

10.05
#3B2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3B2AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2AA9
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AA9#FFFFFF#000000##FFFFFF
##3B2AA91.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3b2aa9;
/* rgb */ color: rgb(59, 42, 169);
/* oklch */ color: oklch(39.9% 0.190 279.4);
Tailwind
colors: {
  custom: {
    50: '#8066c4',
    500: '#3b2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #3b2aa9;
$custom-light: #8066c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2aa9",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 248.031,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.19038,
    "h": 279.4
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#3B2AA9
secondary
#B7C36C
accent
#E344CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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