#3B2D8A#3B2D8A

#3B2D8A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.147 H 283.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3B2D8A
RGBrgb(59, 45, 138)
HSLhsl(249, 51%, 36%)
HSVhsv(249, 67%, 54%)
CMYKcmyk(57.2%, 67.4%, 0%, 45.9%)
CIE-LABlab(25.69, 33.12, -49.85)
CIE-LCHlch(25.69, 59.86, 303.60°)
OKLaboklab(37.35% 0.0344 -0.1433)
OKLCHoklch(37.35% 0.147 283.5)
XYZxyz(7.3281, 4.6411, 24.5495)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2D8A #7C8A2D
analogous
#2D4D8A #3B2D8A #692D8A
triadic
#3B2D8A #8A3B2D #2D8A3B
tetradic
#3B2D8A #8A2D4D #7C8A2D #2D8A69
square
#3B2D8A #8A2D4D #7C8A2D #2D8A69
split-complementary
#3B2D8A #8A692D #4D8A2D
monochromatic
#140F2E #271E5C #3B2D8A #4F3CB8 #7465CD

Accessibility & contrast

On white

10.89
#3B2D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3B2D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2D8A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2D8A#FFFFFF#000000##FFFFFF
##3B2D8A1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#154457
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b2d8a;
/* rgb */ color: rgb(59, 45, 138);
/* oklch */ color: oklch(37.3% 0.147 283.5);
Tailwind
colors: {
  custom: {
    50: '#7967ad',
    500: '#3b2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #3b2d8a;
$custom-light: #7967ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2d8a",
  "rgb": {
    "r": 59,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 249.032,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37345,
    "c": 0.14737,
    "h": 283.5
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#3B2D8A
secondary
#A7B360
accent
#DA4DC5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3B2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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