#3B3CA6#3B3CA6

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

Color values

HEX#3B3CA6
RGBrgb(59, 60, 166)
HSLhsl(239, 48%, 44%)
HSVhsv(239, 64%, 65%)
CMYKcmyk(64.5%, 63.9%, 0%, 34.9%)
CIE-LABlab(31.61, 33.17, -57.30)
CIE-LCHlch(31.61, 66.21, 300.06°)
OKLaboklab(42.4% 0.0181 -0.1651)
OKLCHoklch(42.4% 0.166 276.2)
XYZxyz(10.3002, 6.9138, 36.8607)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3CA6 #A6A53B
analogous
#3B72A6 #3B3CA6 #703BA6
triadic
#3B3CA6 #A63B3C #3CA63B
tetradic
#3B3CA6 #A63B72 #A6A53B #3BA670
square
#3B3CA6 #A63B72 #A6A53B #3BA670
split-complementary
#3B3CA6 #A6703B #72A63B
monochromatic
#1B1B4C #2B2C79 #3B3CA6 #5A5BC4 #8788D4

Accessibility & contrast

On white

8.81
#3B3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3B3CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3CA6
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3CA6#FFFFFF#000000##FFFFFF
##3B3CA61.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3b3ca6;
/* rgb */ color: rgb(59, 60, 166);
/* oklch */ color: oklch(42.4% 0.166 276.2);
Tailwind
colors: {
  custom: {
    50: '#7e72c1',
    500: '#3b3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ca6;
$custom-light: #7e72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ca6",
  "rgb": {
    "r": 59,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 239.439,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.424,
    "c": 0.16611,
    "h": 276.2
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#3B3CA6
secondary
#BFBE7E
accent
#D651D7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3B3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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