#3B2FAC#3B2FAC

#3B2FAC is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.189 H 278.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#3B2FAC
RGBrgb(59, 47, 172)
HSLhsl(246, 57%, 43%)
HSVhsv(246, 73%, 67%)
CMYKcmyk(65.7%, 72.7%, 0%, 32.5%)
CIE-LABlab(29.26, 43.01, -64.76)
CIE-LCHlch(29.26, 77.74, 303.59°)
OKLaboklab(40.87% 0.0272 -0.1869)
OKLCHoklch(40.87% 0.189 278.3)
XYZxyz(10.2641, 5.9405, 39.6275)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FAC #A0AC2F
analogous
#2F61AC #3B2FAC #792FAC
triadic
#3B2FAC #AC3B2F #2FAC3B
tetradic
#3B2FAC #AC2F61 #A0AC2F #2FAC79
square
#3B2FAC #AC2F61 #A0AC2F #2FAC79
split-complementary
#3B2FAC #AC792F #61AC2F
monochromatic
#1A154C #2B227C #3B2FAC #574BCE #847BDB

Accessibility & contrast

On white

9.60
#3B2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3B2FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2FAC
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FAC#FFFFFF#000000##FFFFFF
##3B2FAC1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3b2fac;
/* rgb */ color: rgb(59, 47, 172);
/* oklch */ color: oklch(40.9% 0.189 278.3);
Tailwind
colors: {
  custom: {
    50: '#8069c6',
    500: '#3b2fac',
    950: '#000000',
  },
}
SCSS
$custom: #3b2fac;
$custom-light: #8069c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2fac",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 245.76,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40872,
    "c": 0.18891,
    "h": 278.3
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#3B2FAC
secondary
#BCC374
accent
#E047D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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