#3B2FB7#3B2FB7

#3B2FB7 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.202 H 277.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3B2FB7
RGBrgb(59, 47, 183)
HSLhsl(245, 59%, 45%)
HSVhsv(245, 74%, 72%)
CMYKcmyk(67.8%, 74.3%, 0%, 28.2%)
CIE-LABlab(30.35, 46.53, -69.52)
CIE-LCHlch(30.35, 83.65, 303.79°)
OKLaboklab(41.97% 0.0249 -0.2009)
OKLCHoklch(41.97% 0.202 277.1)
XYZxyz(11.3646, 6.3807, 45.4233)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FB7 #ABB72F
analogous
#2F67B7 #3B2FB7 #7F2FB7
triadic
#3B2FB7 #B73B2F #2FB73B
tetradic
#3B2FB7 #B72F67 #ABB72F #2FB77F
square
#3B2FB7 #B72F67 #ABB72F #2FB77F
split-complementary
#3B2FB7 #B77F2F #67B72F
monochromatic
#1C1656 #2B2286 #3B2FB7 #5C51D2 #8A82DF

Accessibility & contrast

On white

9.23
#3B2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3B2FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2FB7
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FB7#FFFFFF#000000##FFFFFF
##3B2FB71.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3b2fb7;
/* rgb */ color: rgb(59, 47, 183);
/* oklch */ color: oklch(42.0% 0.202 277.1);
Tailwind
colors: {
  custom: {
    50: '#826ace',
    500: '#3b2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #3b2fb7;
$custom-light: #826ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2fb7",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 245.294,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41974,
    "c": 0.2024,
    "h": 277.1
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#3B2FB7
secondary
#C1C87A
accent
#E245D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3B2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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