#3B2CA8#3B2CA8

#3B2CA8 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.187 H 279.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3B2CA8
RGBrgb(59, 44, 168)
HSLhsl(247, 58%, 42%)
HSVhsv(247, 74%, 66%)
CMYKcmyk(64.9%, 73.8%, 0%, 34.1%)
CIE-LABlab(28.27, 43.41, -63.99)
CIE-LCHlch(28.27, 77.32, 304.15°)
OKLaboklab(40.05% 0.03 -0.1847)
OKLCHoklch(40.05% 0.187 279.2)
XYZxyz(9.7699, 5.5575, 37.5961)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2CA8 #99A82C
analogous
#2C5BA8 #3B2CA8 #792CA8
triadic
#3B2CA8 #A83B2C #2CA83B
tetradic
#3B2CA8 #A82C5B #99A82C #2CA879
square
#3B2CA8 #A82C5B #99A82C #2CA879
split-complementary
#3B2CA8 #A8792C #5BA82C
monochromatic
#191347 #2A1F78 #3B2CA8 #5443CE #8074DB

Accessibility & contrast

On white

9.95
#3B2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3B2CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2CA8
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2CA8#FFFFFF#000000##FFFFFF
##3B2CA81.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b2ca8;
/* rgb */ color: rgb(59, 44, 168);
/* oklch */ color: oklch(40.0% 0.187 279.2);
Tailwind
colors: {
  custom: {
    50: '#7f67c3',
    500: '#3b2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #3b2ca8;
$custom-light: #7f67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2ca8",
  "rgb": {
    "r": 59,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 247.258,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40047,
    "c": 0.18711,
    "h": 279.2
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#3B2CA8
secondary
#B8C26E
accent
#E246CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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