#3B2E95#3B2E95

#3B2E95 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.161 H 281.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3B2E95
RGBrgb(59, 46, 149)
HSLhsl(248, 53%, 38%)
HSVhsv(248, 69%, 58%)
CMYKcmyk(60.4%, 69.1%, 0%, 41.6%)
CIE-LABlab(26.89, 36.11, -54.70)
CIE-LCHlch(26.89, 65.54, 303.44°)
OKLaboklab(38.51% 0.032 -0.1575)
OKLCHoklch(38.51% 0.161 281.5)
XYZxyz(8.2037, 5.0532, 28.9710)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2E95 #88952E
analogous
#2E5495 #3B2E95 #6E2E95
triadic
#3B2E95 #953B2E #2E953B
tetradic
#3B2E95 #952E54 #88952E #2E956E
square
#3B2E95 #952E54 #88952E #2E956E
split-complementary
#3B2E95 #956E2E #54952E
monochromatic
#161137 #282066 #3B2E95 #4E3DC3 #796CD2

Accessibility & contrast

On white

10.44
#3B2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3B2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2E95
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2E95#FFFFFF#000000##FFFFFF
##3B2E951.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b2e95;
/* rgb */ color: rgb(59, 46, 149);
/* oklch */ color: oklch(38.5% 0.161 281.5);
Tailwind
colors: {
  custom: {
    50: '#7b68b5',
    500: '#3b2e95',
    950: '#000000',
  },
}
SCSS
$custom: #3b2e95;
$custom-light: #7b68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2e95",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 247.573,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38511,
    "c": 0.16072,
    "h": 281.5
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#3B2E95
secondary
#AEB966
accent
#DC4CCA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3B2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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