#3B3AC6#3B3AC6

#3B3AC6 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.210 H 274.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3B3AC6
RGBrgb(59, 58, 198)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 71%, 78%)
CMYKcmyk(70.2%, 70.7%, 0%, 22.4%)
CIE-LABlab(34.05, 45.19, -72.27)
CIE-LCHlch(34.05, 85.23, 302.02°)
OKLaboklab(45.05% 0.0158 -0.2089)
OKLCHoklch(45.05% 0.21 274.3)
XYZxyz(13.5063, 8.0318, 54.2536)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3AC6 #C5C63A
analogous
#3A7FC6 #3B3AC6 #813AC6
triadic
#3B3AC6 #C63B3A #3AC63B
tetradic
#3B3AC6 #C63A7F #C5C63A #3AC681
square
#3B3AC6 #C63A7F #C5C63A #3AC681
split-complementary
#3B3AC6 #C6813A #7FC63A
monochromatic
#1F1E68 #2C2C97 #3B3AC6 #6A69D4 #9999E1

Accessibility & contrast

On white

8.06
#3B3AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3B3AC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3AC6
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3AC6#FFFFFF#000000##FFFFFF
##3B3AC61.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3b3ac6;
/* rgb */ color: rgb(59, 58, 198);
/* oklch */ color: oklch(45.1% 0.210 274.3);
Tailwind
colors: {
  custom: {
    50: '#8471d9',
    500: '#3b3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ac6;
$custom-light: #8471d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ac6",
  "rgb": {
    "r": 59,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 240.429,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4505,
    "c": 0.20952,
    "h": 274.3
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#3B3AC6
secondary
#CDCD8F
accent
#DE49DD
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3B3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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