#3B3BB2#3B3BB2

#3B3BB2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.183 H 275.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3B3BB2
RGBrgb(59, 59, 178)
HSLhsl(240, 50%, 46%)
HSVhsv(240, 67%, 70%)
CMYKcmyk(66.9%, 66.9%, 0%, 30.2%)
CIE-LABlab(32.42, 37.90, -63.16)
CIE-LCHlch(32.42, 73.66, 300.96°)
OKLaboklab(43.31% 0.0178 -0.1823)
OKLCHoklch(43.31% 0.183 275.6)
XYZxyz(11.4008, 7.2711, 42.9135)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3BB2 #B2B23B
analogous
#3B77B2 #3B3BB2 #773BB2
triadic
#3B3BB2 #B23B3B #3BB23B
tetradic
#3B3BB2 #B23B77 #B2B23B #3BB277
square
#3B3BB2 #B23B77 #B2B23B #3BB277
split-complementary
#3B3BB2 #B2773B #77B23B
monochromatic
#1D1D56 #2C2C84 #3B3BB2 #6060CA #8E8EDA

Accessibility & contrast

On white

8.56
#3B3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3B3BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3BB2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3BB2#FFFFFF#000000##FFFFFF
##3B3BB21.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b3bb2;
/* rgb */ color: rgb(59, 59, 178);
/* oklch */ color: oklch(43.3% 0.183 275.6);
Tailwind
colors: {
  custom: {
    50: '#8071ca',
    500: '#3b3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #3b3bb2;
$custom-light: #8071ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3bb2",
  "rgb": {
    "r": 59,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43309,
    "c": 0.18317,
    "h": 275.6
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#3B3BB2
secondary
#C4C485
accent
#DA4EDA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3B3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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