#3B3BAD#3B3BAD

#3B3BAD is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.177 H 276.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3B3BAD
RGBrgb(59, 59, 173)
HSLhsl(240, 49%, 45%)
HSVhsv(240, 66%, 68%)
CMYKcmyk(65.9%, 65.9%, 0%, 32.2%)
CIE-LABlab(31.97, 36.19, -60.90)
CIE-LCHlch(31.97, 70.85, 300.72°)
OKLaboklab(42.85% 0.0183 -0.1757)
OKLCHoklch(42.85% 0.177 276)
XYZxyz(10.9080, 7.0739, 40.3176)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3BAD #ADAD3B
analogous
#3B74AD #3B3BAD #743BAD
triadic
#3B3BAD #AD3B3B #3BAD3B
tetradic
#3B3BAD #AD3B74 #ADAD3B #3BAD74
square
#3B3BAD #AD3B74 #ADAD3B #3BAD74
split-complementary
#3B3BAD #AD743B #74AD3B
monochromatic
#1C1C52 #2B2B7F #3B3BAD #5D5DC8 #8B8BD7

Accessibility & contrast

On white

8.70
#3B3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3B3BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3BAD
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3BAD#FFFFFF#000000##FFFFFF
##3B3BAD1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3b3bad;
/* rgb */ color: rgb(59, 59, 173);
/* oklch */ color: oklch(42.9% 0.177 276.0);
Tailwind
colors: {
  custom: {
    50: '#7f71c6',
    500: '#3b3bad',
    950: '#000000',
  },
}
SCSS
$custom: #3b3bad;
$custom-light: #7f71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3bad",
  "rgb": {
    "r": 59,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 240,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42852,
    "c": 0.17663,
    "h": 276
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#3B3BAD
secondary
#C2C282
accent
#D94FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3B3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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