#3A3CC5#3A3CC5

#3A3CC5 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.206 H 273.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3A3CC5
RGBrgb(58, 60, 197)
HSLhsl(239, 55%, 50%)
HSVhsv(239, 71%, 77%)
CMYKcmyk(70.6%, 69.5%, 0%, 22.7%)
CIE-LABlab(34.32, 43.58, -71.24)
CIE-LCHlch(34.32, 83.52, 301.45°)
OKLaboklab(45.2% 0.0136 -0.206)
OKLCHoklch(45.2% 0.206 273.8)
XYZxyz(13.4355, 8.1612, 53.6797)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CC5 #C5C33A
analogous
#3A81C5 #3A3CC5 #7E3AC5
triadic
#3A3CC5 #C53A3C #3CC53A
tetradic
#3A3CC5 #C53A81 #C5C33A #3AC57E
square
#3A3CC5 #C53A81 #C5C33A #3AC57E
split-complementary
#3A3CC5 #C57E3A #81C53A
monochromatic
#1E1F66 #2C2E96 #3A3CC5 #696BD3 #999AE1

Accessibility & contrast

On white

7.98
#3A3CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3CC5
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CC5#FFFFFF#000000##FFFFFF
##3A3CC51.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3cc5;
/* rgb */ color: rgb(58, 60, 197);
/* oklch */ color: oklch(45.2% 0.206 273.8);
Tailwind
colors: {
  custom: {
    50: '#8473d8',
    500: '#3a3cc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cc5;
$custom-light: #8473d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cc5",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 239.137,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.45196,
    "c": 0.20642,
    "h": 273.8
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#3A3CC5
secondary
#CDCC8E
accent
#DC4ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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