#3B2FB5#3B2FB5

#3B2FB5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.8% C 0.200 H 277.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#3B2FB5
RGBrgb(59, 47, 181)
HSLhsl(245, 59%, 45%)
HSVhsv(245, 74%, 71%)
CMYKcmyk(67.4%, 74%, 0%, 29%)
CIE-LABlab(30.15, 45.89, -68.66)
CIE-LCHlch(30.15, 82.59, 303.76°)
OKLaboklab(41.77% 0.0253 -0.1984)
OKLCHoklch(41.77% 0.2 277.3)
XYZxyz(11.1579, 6.2981, 44.3347)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FB5 #A9B52F
analogous
#2F66B5 #3B2FB5 #7E2FB5
triadic
#3B2FB5 #B53B2F #2FB53B
tetradic
#3B2FB5 #B52F66 #A9B52F #2FB57E
square
#3B2FB5 #B52F66 #A9B52F #2FB57E
split-complementary
#3B2FB5 #B57E2F #66B52F
monochromatic
#1B1654 #2B2284 #3B2FB5 #5B50D1 #8980DE

Accessibility & contrast

On white

9.29
#3B2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3B2FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2FB5
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FB5#FFFFFF#000000##FFFFFF
##3B2FB51.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3b2fb5;
/* rgb */ color: rgb(59, 47, 181);
/* oklch */ color: oklch(41.8% 0.200 277.3);
Tailwind
colors: {
  custom: {
    50: '#826acc',
    500: '#3b2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #3b2fb5;
$custom-light: #826acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2fb5",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 245.373,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41772,
    "c": 0.19997,
    "h": 277.3
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#3B2FB5
secondary
#C0C779
accent
#E246D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3B2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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