#3A3CC4#3A3CC4

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

Color values

HEX#3A3CC4
RGBrgb(58, 60, 196)
HSLhsl(239, 54%, 50%)
HSVhsv(239, 70%, 77%)
CMYKcmyk(70.4%, 69.4%, 0%, 23.1%)
CIE-LABlab(34.22, 43.25, -70.81)
CIE-LCHlch(34.22, 82.97, 301.41°)
OKLaboklab(45.1% 0.0138 -0.2047)
OKLCHoklch(45.1% 0.205 273.8)
XYZxyz(13.3213, 8.1155, 53.0783)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CC4 #C4C23A
analogous
#3A81C4 #3A3CC4 #7D3AC4
triadic
#3A3CC4 #C43A3C #3CC43A
tetradic
#3A3CC4 #C43A81 #C4C23A #3AC47D
square
#3A3CC4 #C43A81 #C4C23A #3AC47D
split-complementary
#3A3CC4 #C47D3A #81C43A
monochromatic
#1E1F66 #2C2E95 #3A3CC4 #696AD3 #9899E0

Accessibility & contrast

On white

8.00
#3A3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3CC4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CC4#FFFFFF#000000##FFFFFF
##3A3CC41.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3cc4;
/* rgb */ color: rgb(58, 60, 196);
/* oklch */ color: oklch(45.1% 0.205 273.8);
Tailwind
colors: {
  custom: {
    50: '#8373d7',
    500: '#3a3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cc4;
$custom-light: #8373d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cc4",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 239.13,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.451,
    "c": 0.20517,
    "h": 273.8
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#3A3CC4
secondary
#CCCB8E
accent
#DC4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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