#3B3CA7#3B3CA7

#3B3CA7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.167 H 276.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3B3CA7
RGBrgb(59, 60, 167)
HSLhsl(239, 48%, 44%)
HSVhsv(239, 65%, 65%)
CMYKcmyk(64.7%, 64.1%, 0%, 34.5%)
CIE-LABlab(31.69, 33.51, -57.77)
CIE-LCHlch(31.69, 66.78, 300.12°)
OKLaboklab(42.49% 0.018 -0.1665)
OKLCHoklch(42.49% 0.167 276.2)
XYZxyz(10.3923, 6.9507, 37.3457)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3CA7 #A7A63B
analogous
#3B72A7 #3B3CA7 #703BA7
triadic
#3B3CA7 #A73B3C #3CA73B
tetradic
#3B3CA7 #A73B72 #A7A63B #3BA770
square
#3B3CA7 #A73B72 #A7A63B #3BA770
split-complementary
#3B3CA7 #A7703B #72A73B
monochromatic
#1B1C4D #2B2C7A #3B3CA7 #5A5BC5 #8888D5

Accessibility & contrast

On white

8.79
#3B3CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3B3CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3CA7
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3CA7#FFFFFF#000000##FFFFFF
##3B3CA71.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3b3ca7;
/* rgb */ color: rgb(59, 60, 167);
/* oklch */ color: oklch(42.5% 0.167 276.2);
Tailwind
colors: {
  custom: {
    50: '#7e72c2',
    500: '#3b3ca7',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ca7;
$custom-light: #7e72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ca7",
  "rgb": {
    "r": 59,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 239.444,
    "s": 47.788,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.16745,
    "h": 276.2
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#3B3CA7
secondary
#BFBE7F
accent
#D650D7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3B3CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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