#3B2EB4#3B2EB4

#3B2EB4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.200 H 277.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3B2EB4
RGBrgb(59, 46, 180)
HSLhsl(246, 59%, 44%)
HSVhsv(246, 74%, 71%)
CMYKcmyk(67.2%, 74.4%, 0%, 29.4%)
CIE-LABlab(29.86, 46.12, -68.56)
CIE-LCHlch(29.86, 82.63, 303.93°)
OKLaboklab(41.53% 0.0262 -0.198)
OKLCHoklch(41.53% 0.2 277.5)
XYZxyz(11.0162, 6.1781, 43.7831)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EB4 #A7B42E
analogous
#2E64B4 #3B2EB4 #7E2EB4
triadic
#3B2EB4 #B43B2E #2EB43B
tetradic
#3B2EB4 #B42E64 #A7B42E #2EB47E
square
#3B2EB4 #B42E64 #A7B42E #2EB47E
split-complementary
#3B2EB4 #B47E2E #64B42E
monochromatic
#1B1553 #2B2283 #3B2EB4 #5A4ED2 #887EDE

Accessibility & contrast

On white

9.39
#3B2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B2EB4
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EB4#FFFFFF#000000##FFFFFF
##3B2EB41.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3b2eb4;
/* rgb */ color: rgb(59, 46, 180);
/* oklch */ color: oklch(41.5% 0.200 277.5);
Tailwind
colors: {
  custom: {
    50: '#8269cc',
    500: '#3b2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #3b2eb4;
$custom-light: #8269cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2eb4",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 245.821,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.19976,
    "h": 277.5
  },
  "luminance": 0.06179
}

Semantic roles & 50–950 ramp

primary
#3B2EB4
secondary
#BFC777
accent
#E245D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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