#3A3BC6#3A3BC6

#3A3BC6 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.1% C 0.209 H 273.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3A3BC6
RGBrgb(58, 59, 198)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 71%, 78%)
CMYKcmyk(70.7%, 70.2%, 0%, 22.4%)
CIE-LABlab(34.20, 44.50, -72.02)
CIE-LCHlch(34.20, 84.66, 301.71°)
OKLaboklab(45.14% 0.0141 -0.2082)
OKLCHoklch(45.14% 0.209 273.9)
XYZxyz(13.4985, 8.1034, 54.2679)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BC6 #C6C53A
analogous
#3A81C6 #3A3BC6 #7F3AC6
triadic
#3A3BC6 #C63A3B #3BC63A
tetradic
#3A3BC6 #C63A81 #C6C53A #3AC67F
square
#3A3BC6 #C63A81 #C6C53A #3AC67F
split-complementary
#3A3BC6 #C67F3A #81C63A
monochromatic
#1E1F68 #2C2C97 #3A3BC6 #696AD4 #9999E1

Accessibility & contrast

On white

8.01
#3A3BC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3A3BC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BC6
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BC6#FFFFFF#000000##FFFFFF
##3A3BC61.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3bc6;
/* rgb */ color: rgb(58, 59, 198);
/* oklch */ color: oklch(45.1% 0.209 273.9);
Tailwind
colors: {
  custom: {
    50: '#8472d9',
    500: '#3a3bc6',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bc6;
$custom-light: #8472d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bc6",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 239.571,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.20871,
    "h": 273.9
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#3A3BC6
secondary
#CDCD8F
accent
#DD49DE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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