#3B3BAB#3B3BAB

#3B3BAB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.174 H 276.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#3B3BAB
RGBrgb(59, 59, 171)
HSLhsl(240, 49%, 45%)
HSVhsv(240, 65%, 67%)
CMYKcmyk(65.5%, 65.5%, 0%, 32.9%)
CIE-LABlab(31.80, 35.51, -59.99)
CIE-LCHlch(31.80, 69.71, 300.62°)
OKLaboklab(42.67% 0.0185 -0.173)
OKLCHoklch(42.67% 0.174 276.1)
XYZxyz(10.7159, 6.9971, 39.3060)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3BAB #ABAB3B
analogous
#3B73AB #3B3BAB #733BAB
triadic
#3B3BAB #AB3B3B #3BAB3B
tetradic
#3B3BAB #AB3B73 #ABAB3B #3BAB73
square
#3B3BAB #AB3B73 #ABAB3B #3BAB73
split-complementary
#3B3BAB #AB733B #73AB3B
monochromatic
#1C1C50 #2B2B7D #3B3BAB #5C5CC7 #8A8AD7

Accessibility & contrast

On white

8.75
#3B3BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3B3BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3BAB
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3BAB#FFFFFF#000000##FFFFFF
##3B3BAB1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3b3bab;
/* rgb */ color: rgb(59, 59, 171);
/* oklch */ color: oklch(42.7% 0.174 276.1);
Tailwind
colors: {
  custom: {
    50: '#7f71c5',
    500: '#3b3bab',
    950: '#000000',
  },
}
SCSS
$custom: #3b3bab;
$custom-light: #7f71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3bab",
  "rgb": {
    "r": 59,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 240,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42672,
    "c": 0.174,
    "h": 276.1
  },
  "luminance": 0.06998
}

Semantic roles & 50–950 ramp

primary
#3B3BAB
secondary
#C1C181
accent
#D850D8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3B3BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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