#3A3CC2#3A3CC2

#3A3CC2 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.9% C 0.203 H 274.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3A3CC2
RGBrgb(58, 60, 194)
HSLhsl(239, 54%, 49%)
HSVhsv(239, 70%, 76%)
CMYKcmyk(70.1%, 69.1%, 0%, 23.9%)
CIE-LABlab(34.03, 42.57, -69.95)
CIE-LCHlch(34.03, 81.89, 301.33°)
OKLaboklab(44.91% 0.014 -0.2022)
OKLCHoklch(44.91% 0.203 274)
XYZxyz(13.0951, 8.0250, 51.8873)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CC2 #C2C03A
analogous
#3A80C2 #3A3CC2 #7C3AC2
triadic
#3A3CC2 #C23A3C #3CC23A
tetradic
#3A3CC2 #C23A80 #C2C03A #3AC27C
square
#3A3CC2 #C23A80 #C2C03A #3AC27C
split-complementary
#3A3CC2 #C27C3A #80C23A
monochromatic
#1E1F64 #2C2D93 #3A3CC2 #6769D2 #9798E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3CC2#FFFFFF#000000##FFFFFF
##3A3CC21.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)
#0056C6
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3cc2;
/* rgb */ color: rgb(58, 60, 194);
/* oklch */ color: oklch(44.9% 0.203 274.0);
Tailwind
colors: {
  custom: {
    50: '#8373d6',
    500: '#3a3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cc2;
$custom-light: #8373d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cc2",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 239.118,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44908,
    "c": 0.20268,
    "h": 274
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#3A3CC2
secondary
#CBCA8D
accent
#DB4ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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