#3B3BC6#3B3BC6

#3B3BC6 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.208 H 274.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3B3BC6
RGBrgb(59, 59, 198)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 70%, 78%)
CMYKcmyk(70.2%, 70.2%, 0%, 22.4%)
CIE-LABlab(34.26, 44.61, -71.92)
CIE-LCHlch(34.26, 84.63, 301.81°)
OKLaboklab(45.2% 0.0152 -0.2079)
OKLCHoklch(45.2% 0.208 274.2)
XYZxyz(13.5573, 8.1337, 54.2706)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3BC6 #C6C63B
analogous
#3B80C6 #3B3BC6 #803BC6
triadic
#3B3BC6 #C63B3B #3BC63B
tetradic
#3B3BC6 #C63B80 #C6C63B #3BC680
square
#3B3BC6 #C63B80 #C6C63B #3BC680
split-complementary
#3B3BC6 #C6803B #80C63B
monochromatic
#1E1E68 #2C2C98 #3B3BC6 #6A6AD4 #9A9AE2

Accessibility & contrast

On white

7.99
#3B3BC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3B3BC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3BC6
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3BC6#FFFFFF#000000##FFFFFF
##3B3BC61.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#004AC3
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b3bc6;
/* rgb */ color: rgb(59, 59, 198);
/* oklch */ color: oklch(45.2% 0.208 274.2);
Tailwind
colors: {
  custom: {
    50: '#8472d9',
    500: '#3b3bc6',
    950: '#000000',
  },
}
SCSS
$custom: #3b3bc6;
$custom-light: #8472d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3bc6",
  "rgb": {
    "r": 59,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 240,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.20847,
    "h": 274.2
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#3B3BC6
secondary
#CDCD8F
accent
#DE4ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3B3BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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