#3B3296#3B3296

#3B3296 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.157 H 280.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#3B3296
RGBrgb(59, 50, 150)
HSLhsl(245, 50%, 39%)
HSVhsv(245, 67%, 59%)
CMYKcmyk(60.7%, 66.7%, 0%, 41.2%)
CIE-LABlab(27.88, 34.00, -53.69)
CIE-LCHlch(27.88, 63.55, 302.35°)
OKLaboklab(39.26% 0.0283 -0.1545)
OKLCHoklch(39.26% 0.157 280.4)
XYZxyz(8.4475, 5.4124, 29.4478)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3296 #8D9632
analogous
#325B96 #3B3296 #6D3296
triadic
#3B3296 #963B32 #32963B
tetradic
#3B3296 #96325B #8D9632 #32966D
square
#3B3296 #96325B #8D9632 #32966D
split-complementary
#3B3296 #966D32 #5B9632
monochromatic
#17133A #292368 #3B3296 #5044C1 #7B72D0

Accessibility & contrast

On white

10.08
#3B3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3B3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3296
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3296#FFFFFF#000000##FFFFFF
##3B32961.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3b3296;
/* rgb */ color: rgb(59, 50, 150);
/* oklch */ color: oklch(39.3% 0.157 280.4);
Tailwind
colors: {
  custom: {
    50: '#7b6bb6',
    500: '#3b3296',
    950: '#000000',
  },
}
SCSS
$custom: #3b3296;
$custom-light: #7b6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3296",
  "rgb": {
    "r": 59,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 245.4,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39256,
    "c": 0.15711,
    "h": 280.4
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#3B3296
secondary
#B1B86C
accent
#DA4ECD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3B3296

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

Preview Lab → · Contrast checker → · Palette generator →

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