#3B2AA8#3B2AA8

#3B2AA8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.189 H 279.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#3B2AA8
RGBrgb(59, 42, 168)
HSLhsl(248, 60%, 41%)
HSVhsv(248, 75%, 66%)
CMYKcmyk(64.9%, 75%, 0%, 34.1%)
CIE-LABlab(27.88, 44.51, -64.63)
CIE-LCHlch(27.88, 78.47, 304.55°)
OKLaboklab(39.77% 0.0313 -0.1865)
OKLCHoklch(39.77% 0.189 279.5)
XYZxyz(9.6972, 5.4121, 37.5718)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2AA8 #97A82A
analogous
#2A58A8 #3B2AA8 #7A2AA8
triadic
#3B2AA8 #A83B2A #2AA83B
tetradic
#3B2AA8 #A82A58 #97A82A #2AA87A
square
#3B2AA8 #A82A58 #97A82A #2AA87A
split-complementary
#3B2AA8 #A87A2A #58A82A
monochromatic
#191246 #2A1E77 #3B2AA8 #5340CF #7F71DB

Accessibility & contrast

On white

10.08
#3B2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3B2AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2AA8
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2AA8#FFFFFF#000000##FFFFFF
##3B2AA81.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3b2aa8;
/* rgb */ color: rgb(59, 42, 168);
/* oklch */ color: oklch(39.8% 0.189 279.5);
Tailwind
colors: {
  custom: {
    50: '#7f66c3',
    500: '#3b2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #3b2aa8;
$custom-light: #7f66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2aa8",
  "rgb": {
    "r": 59,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 248.095,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.18915,
    "h": 279.5
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#3B2AA8
secondary
#B7C36B
accent
#E345CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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