#3B2FA9#3B2FA9

#3B2FA9 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.185 H 278.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#3B2FA9
RGBrgb(59, 47, 169)
HSLhsl(246, 56%, 42%)
HSVhsv(246, 72%, 66%)
CMYKcmyk(65.1%, 72.2%, 0%, 33.7%)
CIE-LABlab(28.97, 42.04, -63.43)
CIE-LCHlch(28.97, 76.10, 303.53°)
OKLaboklab(40.58% 0.0277 -0.1831)
OKLCHoklch(40.58% 0.185 278.6)
XYZxyz(9.9793, 5.8266, 38.1272)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FA9 #9DA92F
analogous
#2F60A9 #3B2FA9 #782FA9
triadic
#3B2FA9 #A93B2F #2FA93B
tetradic
#3B2FA9 #A92F60 #9DA92F #2FA978
square
#3B2FA9 #A92F60 #9DA92F #2FA978
split-complementary
#3B2FA9 #A9782F #60A92F
monochromatic
#1A1449 #2A2279 #3B2FA9 #5649CC #8279DA

Accessibility & contrast

On white

9.70
#3B2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3B2FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2FA9
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FA9#FFFFFF#000000##FFFFFF
##3B2FA91.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b2fa9;
/* rgb */ color: rgb(59, 47, 169);
/* oklch */ color: oklch(40.6% 0.185 278.6);
Tailwind
colors: {
  custom: {
    50: '#7f69c4',
    500: '#3b2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #3b2fa9;
$custom-light: #7f69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2fa9",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 245.902,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40576,
    "c": 0.18518,
    "h": 278.6
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#3B2FA9
secondary
#BAC272
accent
#E048D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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