#3B2EB7#3B2EB7

#3B2EB7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.203 H 277.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#3B2EB7
RGBrgb(59, 46, 183)
HSLhsl(246, 60%, 45%)
HSVhsv(246, 75%, 72%)
CMYKcmyk(67.8%, 74.9%, 0%, 28.2%)
CIE-LABlab(30.16, 47.07, -69.84)
CIE-LCHlch(30.16, 84.22, 303.98°)
OKLaboklab(41.84% 0.0255 -0.2018)
OKLCHoklch(41.84% 0.203 277.2)
XYZxyz(11.3251, 6.3017, 45.4101)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EB7 #AAB72E
analogous
#2E66B7 #3B2EB7 #7F2EB7
triadic
#3B2EB7 #B73B2E #2EB73B
tetradic
#3B2EB7 #B72E66 #AAB72E #2EB77F
square
#3B2EB7 #B72E66 #AAB72E #2EB77F
split-complementary
#3B2EB7 #B77F2E #66B72E
monochromatic
#1B1555 #2B2286 #3B2EB7 #5C4FD3 #8980DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B2EB7#FFFFFF#000000##FFFFFF
##3B2EB71.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)
#004DBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3b2eb7;
/* rgb */ color: rgb(59, 46, 183);
/* oklch */ color: oklch(41.8% 0.203 277.2);
Tailwind
colors: {
  custom: {
    50: '#8269ce',
    500: '#3b2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #3b2eb7;
$custom-light: #8269ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2eb7",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 245.693,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41839,
    "c": 0.20338,
    "h": 277.2
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#3B2EB7
secondary
#C0C879
accent
#E345D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3B2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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