#3B3AB5#3B3AB5

#3B3AB5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.188 H 275.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3B3AB5
RGBrgb(59, 58, 181)
HSLhsl(240, 51%, 47%)
HSVhsv(240, 68%, 71%)
CMYKcmyk(67.4%, 68%, 0%, 29%)
CIE-LABlab(32.46, 39.52, -64.87)
CIE-LCHlch(32.46, 75.96, 301.35°)
OKLaboklab(43.42% 0.0182 -0.1873)
OKLCHoklch(43.42% 0.188 275.5)
XYZxyz(11.6544, 7.2911, 44.5002)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3AB5 #B4B53A
analogous
#3A77B5 #3B3AB5 #793AB5
triadic
#3B3AB5 #B53B3A #3AB53B
tetradic
#3B3AB5 #B53A77 #B4B53A #3AB579
square
#3B3AB5 #B53A77 #B4B53A #3AB579
split-complementary
#3B3AB5 #B5793A #77B53A
monochromatic
#1D1C58 #2C2B87 #3B3AB5 #6160CC #8F8EDB

Accessibility & contrast

On white

8.54
#3B3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3B3AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3AB5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3AB5#FFFFFF#000000##FFFFFF
##3B3AB51.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b3ab5;
/* rgb */ color: rgb(59, 58, 181);
/* oklch */ color: oklch(43.4% 0.188 275.5);
Tailwind
colors: {
  custom: {
    50: '#8171cc',
    500: '#3b3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ab5;
$custom-light: #8171cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ab5",
  "rgb": {
    "r": 59,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 240.488,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43424,
    "c": 0.18818,
    "h": 275.5
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#3B3AB5
secondary
#C5C685
accent
#DB4DDA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3B3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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