#3B3BB5#3B3BB5

#3B3BB5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.187 H 275.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#3B3BB5
RGBrgb(59, 59, 181)
HSLhsl(240, 51%, 47%)
HSVhsv(240, 67%, 71%)
CMYKcmyk(67.4%, 67.4%, 0%, 29%)
CIE-LABlab(32.69, 38.91, -64.50)
CIE-LCHlch(32.69, 75.33, 301.10°)
OKLaboklab(43.59% 0.0175 -0.1862)
OKLCHoklch(43.59% 0.187 275.4)
XYZxyz(11.7053, 7.3929, 44.5172)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3BB5 #B5B53B
analogous
#3B78B5 #3B3BB5 #783BB5
triadic
#3B3BB5 #B53B3B #3BB53B
tetradic
#3B3BB5 #B53B78 #B5B53B #3BB578
square
#3B3BB5 #B53B78 #B5B53B #3BB578
split-complementary
#3B3BB5 #B5783B #78B53B
monochromatic
#1D1D59 #2C2C87 #3B3BB5 #6262CC #9090DB

Accessibility & contrast

On white

8.47
#3B3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3B3BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3BB5
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3BB5#FFFFFF#000000##FFFFFF
##3B3BB51.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3b3bb5;
/* rgb */ color: rgb(59, 59, 181);
/* oklch */ color: oklch(43.6% 0.187 275.4);
Tailwind
colors: {
  custom: {
    50: '#8171cc',
    500: '#3b3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #3b3bb5;
$custom-light: #8171cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3bb5",
  "rgb": {
    "r": 59,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 240,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43586,
    "c": 0.18704,
    "h": 275.4
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#3B3BB5
secondary
#C6C686
accent
#DA4DDA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3B3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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