#3B3AAA#3B3AAA

#3B3AAA is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.174 H 276.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3B3AAA
RGBrgb(59, 58, 170)
HSLhsl(241, 49%, 45%)
HSVhsv(241, 66%, 67%)
CMYKcmyk(65.3%, 65.9%, 0%, 33.3%)
CIE-LABlab(31.48, 35.79, -59.92)
CIE-LCHlch(31.48, 69.79, 300.85°)
OKLaboklab(42.41% 0.0194 -0.1728)
OKLCHoklch(42.41% 0.174 276.4)
XYZxyz(10.5700, 6.8573, 38.7890)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3AAA #A9AA3A
analogous
#3A71AA #3B3AAA #733AAA
triadic
#3B3AAA #AA3B3A #3AAA3B
tetradic
#3B3AAA #AA3A71 #A9AA3A #3AAA73
square
#3B3AAA #AA3A71 #A9AA3A #3AAA73
split-complementary
#3B3AAA #AA733A #71AA3A
monochromatic
#1B1B4F #2B2A7C #3B3AAA #5B5AC7 #8988D6

Accessibility & contrast

On white

8.85
#3B3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3B3AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3AAA
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3AAA#FFFFFF#000000##FFFFFF
##3B3AAA1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3b3aaa;
/* rgb */ color: rgb(59, 58, 170);
/* oklch */ color: oklch(42.4% 0.174 276.4);
Tailwind
colors: {
  custom: {
    50: '#7f71c4',
    500: '#3b3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3b3aaa;
$custom-light: #7f71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3aaa",
  "rgb": {
    "r": 59,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 240.536,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.17388,
    "h": 276.4
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#3B3AAA
secondary
#C0C17F
accent
#D94FD7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3B3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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