#3B3DB8#3B3DB8

#3B3DB8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.2% C 0.189 H 274.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3B3DB8
RGBrgb(59, 61, 184)
HSLhsl(239, 51%, 48%)
HSVhsv(239, 68%, 72%)
CMYKcmyk(67.9%, 66.8%, 0%, 27.8%)
CIE-LABlab(33.41, 38.71, -65.09)
CIE-LCHlch(33.41, 75.73, 300.74°)
OKLaboklab(44.19% 0.0157 -0.1879)
OKLCHoklch(44.19% 0.189 274.8)
XYZxyz(12.1212, 7.7269, 46.1908)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3DB8 #B8B63B
analogous
#3B7BB8 #3B3DB8 #773BB8
triadic
#3B3DB8 #B83B3D #3DB83B
tetradic
#3B3DB8 #B83B7B #B8B63B #3BB877
square
#3B3DB8 #B83B7B #B8B63B #3BB877
split-complementary
#3B3DB8 #B8773B #7BB83B
monochromatic
#1D1E5B #2C2E8A #3B3DB8 #6365CD #9293DC

Accessibility & contrast

On white

8.25
#3B3DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3B3DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3DB8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3DB8#FFFFFF#000000##FFFFFF
##3B3DB81.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3b3db8;
/* rgb */ color: rgb(59, 61, 184);
/* oklch */ color: oklch(44.2% 0.189 274.8);
Tailwind
colors: {
  custom: {
    50: '#8173ce',
    500: '#3b3db8',
    950: '#000000',
  },
}
SCSS
$custom: #3b3db8;
$custom-light: #8173ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3db8",
  "rgb": {
    "r": 59,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 239.04,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44193,
    "c": 0.18861,
    "h": 274.8
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#3B3DB8
secondary
#C7C688
accent
#D94DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3B3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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