#3B3BB9#3B3BB9

#3B3BB9 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.0% C 0.192 H 275.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3B3BB9
RGBrgb(59, 59, 185)
HSLhsl(240, 52%, 48%)
HSVhsv(240, 68%, 73%)
CMYKcmyk(68.1%, 68.1%, 0%, 27.5%)
CIE-LABlab(33.05, 40.26, -66.27)
CIE-LCHlch(33.05, 77.55, 301.28°)
OKLaboklab(43.96% 0.017 -0.1914)
OKLCHoklch(43.96% 0.192 275.1)
XYZxyz(12.1217, 7.5594, 46.7098)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3BB9 #B9B93B
analogous
#3B7AB9 #3B3BB9 #7A3BB9
triadic
#3B3BB9 #B93B3B #3BB93B
tetradic
#3B3BB9 #B93B7A #B9B93B #3BB97A
square
#3B3BB9 #B93B7A #B9B93B #3BB97A
split-complementary
#3B3BB9 #B97A3B #7AB93B
monochromatic
#1D1D5C #2C2C8B #3B3BB9 #6464CD #9292DC

Accessibility & contrast

On white

8.36
#3B3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3B3BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3BB9
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3BB9#FFFFFF#000000##FFFFFF
##3B3BB91.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3b3bb9;
/* rgb */ color: rgb(59, 59, 185);
/* oklch */ color: oklch(44.0% 0.192 275.1);
Tailwind
colors: {
  custom: {
    50: '#8272cf',
    500: '#3b3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #3b3bb9;
$custom-light: #8272cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3bb9",
  "rgb": {
    "r": 59,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 240,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4396,
    "c": 0.19216,
    "h": 275.1
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#3B3BB9
secondary
#C7C788
accent
#DB4DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3B3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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