#3B3AA2#3B3AA2

#3B3AA2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.163 H 277.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3B3AA2
RGBrgb(59, 58, 162)
HSLhsl(241, 47%, 43%)
HSVhsv(241, 64%, 64%)
CMYKcmyk(63.6%, 64.2%, 0%, 36.5%)
CIE-LABlab(30.79, 33.05, -56.23)
CIE-LCHlch(30.79, 65.22, 300.45°)
OKLaboklab(41.7% 0.0201 -0.162)
OKLCHoklch(41.7% 0.163 277.1)
XYZxyz(9.8362, 6.5638, 34.9240)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3AA2 #A1A23A
analogous
#3A6DA2 #3B3AA2 #6F3AA2
triadic
#3B3AA2 #A23B3A #3AA23B
tetradic
#3B3AA2 #A23A6D #A1A23A #3AA26F
square
#3B3AA2 #A23A6D #A1A23A #3AA26F
split-complementary
#3B3AA2 #A26F3A #6DA23A
monochromatic
#1A1A48 #2B2A75 #3B3AA2 #5857C3 #8484D3

Accessibility & contrast

On white

9.08
#3B3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3B3AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3AA2
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3AA2#FFFFFF#000000##FFFFFF
##3B3AA21.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3b3aa2;
/* rgb */ color: rgb(59, 58, 162);
/* oklch */ color: oklch(41.7% 0.163 277.1);
Tailwind
colors: {
  custom: {
    50: '#7d70be',
    500: '#3b3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #3b3aa2;
$custom-light: #7d70be;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3aa2",
  "rgb": {
    "r": 59,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 240.577,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.16322,
    "h": 277.1
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#3B3AA2
secondary
#BCBD7B
accent
#D751D6
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3B3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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