#3B2EB5#3B2EB5

#3B2EB5 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.201 H 277.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#3B2EB5
RGBrgb(59, 46, 181)
HSLhsl(246, 59%, 45%)
HSVhsv(246, 75%, 71%)
CMYKcmyk(67.4%, 74.6%, 0%, 29%)
CIE-LABlab(29.96, 46.44, -68.98)
CIE-LCHlch(29.96, 83.16, 303.95°)
OKLaboklab(41.64% 0.0259 -0.1993)
OKLCHoklch(41.64% 0.201 277.4)
XYZxyz(11.1184, 6.2190, 44.3216)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EB5 #A8B52E
analogous
#2E65B5 #3B2EB5 #7F2EB5
triadic
#3B2EB5 #B53B2E #2EB53B
tetradic
#3B2EB5 #B52E65 #A8B52E #2EB57F
square
#3B2EB5 #B52E65 #A8B52E #2EB57F
split-complementary
#3B2EB5 #B57F2E #65B52E
monochromatic
#1B1553 #2B2284 #3B2EB5 #5B4ED2 #887FDE

Accessibility & contrast

On white

9.36
#3B2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3B2EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2EB5
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EB5#FFFFFF#000000##FFFFFF
##3B2EB51.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.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: #3b2eb5;
/* rgb */ color: rgb(59, 46, 181);
/* oklch */ color: oklch(41.6% 0.201 277.4);
Tailwind
colors: {
  custom: {
    50: '#8269cc',
    500: '#3b2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #3b2eb5;
$custom-light: #8269cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2eb5",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 245.778,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41635,
    "c": 0.20097,
    "h": 277.4
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#3B2EB5
secondary
#C0C778
accent
#E345D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3B2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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