#3B2F8A#3B2F8A

#3B2F8A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.145 H 282.9°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#3B2F8A
RGBrgb(59, 47, 138)
HSLhsl(248, 49%, 36%)
HSVhsv(248, 66%, 54%)
CMYKcmyk(57.2%, 65.9%, 0%, 45.9%)
CIE-LABlab(26.15, 31.88, -49.10)
CIE-LCHlch(26.15, 58.54, 303.00°)
OKLaboklab(37.68% 0.0324 -0.1411)
OKLCHoklch(37.68% 0.145 282.9)
XYZxyz(7.4062, 4.7974, 24.5756)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2F8A #7E8A2F
analogous
#2F518A #3B2F8A #692F8A
triadic
#3B2F8A #8A3B2F #2F8A3B
tetradic
#3B2F8A #8A2F51 #7E8A2F #2F8A69
square
#3B2F8A #8A2F51 #7E8A2F #2F8A69
split-complementary
#3B2F8A #8A692F #518A2F
monochromatic
#14102F #271F5C #3B2F8A #4F3FB8 #7568CC

Accessibility & contrast

On white

10.72
#3B2F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3B2F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2F8A
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2F8A#FFFFFF#000000##FFFFFF
##3B2F8A1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#154658
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b2f8a;
/* rgb */ color: rgb(59, 47, 138);
/* oklch */ color: oklch(37.7% 0.145 282.9);
Tailwind
colors: {
  custom: {
    50: '#7968ad',
    500: '#3b2f8a',
    950: '#000000',
  },
}
SCSS
$custom: #3b2f8a;
$custom-light: #7968ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2f8a",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 247.912,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3768,
    "c": 0.14477,
    "h": 282.9
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#3B2F8A
secondary
#A8B362
accent
#D94FC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3B2F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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