#3B2FB8#3B2FB8

#3B2FB8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.204 H 277.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#3B2FB8
RGBrgb(59, 47, 184)
HSLhsl(245, 59%, 45%)
HSVhsv(245, 74%, 72%)
CMYKcmyk(67.9%, 74.5%, 0%, 27.8%)
CIE-LABlab(30.45, 46.84, -69.95)
CIE-LCHlch(30.45, 84.18, 303.81°)
OKLaboklab(42.08% 0.0247 -0.2021)
OKLCHoklch(42.08% 0.204 277)
XYZxyz(11.4691, 6.4225, 45.9734)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2FB8 #ACB82F
analogous
#2F68B8 #3B2FB8 #7F2FB8
triadic
#3B2FB8 #B83B2F #2FB83B
tetradic
#3B2FB8 #B82F68 #ACB82F #2FB87F
square
#3B2FB8 #B82F68 #ACB82F #2FB87F
split-complementary
#3B2FB8 #B87F2F #68B82F
monochromatic
#1C1657 #2B2387 #3B2FB8 #5D52D3 #8A82DF

Accessibility & contrast

On white

9.19
#3B2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3B2FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2FB8
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2FB8#FFFFFF#000000##FFFFFF
##3B2FB81.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3b2fb8;
/* rgb */ color: rgb(59, 47, 184);
/* oklch */ color: oklch(42.1% 0.204 277.0);
Tailwind
colors: {
  custom: {
    50: '#826acf',
    500: '#3b2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #3b2fb8;
$custom-light: #826acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2fb8",
  "rgb": {
    "r": 59,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 245.255,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.20361,
    "h": 277
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#3B2FB8
secondary
#C1C87B
accent
#E245D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3B2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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