#3B2EB8#3B2EB8

#3B2EB8 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.205 H 277.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#3B2EB8
RGBrgb(59, 46, 184)
HSLhsl(246, 60%, 45%)
HSVhsv(246, 75%, 72%)
CMYKcmyk(67.9%, 75%, 0%, 27.8%)
CIE-LABlab(30.26, 47.38, -70.26)
CIE-LCHlch(30.26, 84.75, 303.99°)
OKLaboklab(41.94% 0.0253 -0.203)
OKLCHoklch(41.94% 0.205 277.1)
XYZxyz(11.4295, 6.3435, 45.9602)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EB8 #ABB82E
analogous
#2E66B8 #3B2EB8 #802EB8
triadic
#3B2EB8 #B83B2E #2EB83B
tetradic
#3B2EB8 #B82E66 #ABB82E #2EB880
square
#3B2EB8 #B82E66 #ABB82E #2EB880
split-complementary
#3B2EB8 #B8802E #66B82E
monochromatic
#1C1656 #2B2287 #3B2EB8 #5C50D3 #8A81DF

Accessibility & contrast

On white

9.26
#3B2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3B2EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2EB8
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EB8#FFFFFF#000000##FFFFFF
##3B2EB81.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3b2eb8;
/* rgb */ color: rgb(59, 46, 184);
/* oklch */ color: oklch(41.9% 0.205 277.1);
Tailwind
colors: {
  custom: {
    50: '#8269cf',
    500: '#3b2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #3b2eb8;
$custom-light: #8269cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2eb8",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 245.652,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.20459,
    "h": 277.1
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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