#3A3AC5#3A3AC5

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

Color values

HEX#3A3AC5
RGBrgb(58, 58, 197)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 71%, 77%)
CMYKcmyk(70.6%, 70.6%, 0%, 22.7%)
CIE-LABlab(33.89, 44.75, -71.94)
CIE-LCHlch(33.89, 84.73, 301.88°)
OKLaboklab(44.89% 0.0148 -0.208)
OKLCHoklch(44.89% 0.209 274.1)
XYZxyz(13.3327, 7.9556, 53.6454)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3AC5 #C5C53A
analogous
#3A7FC5 #3A3AC5 #7F3AC5
triadic
#3A3AC5 #C53A3A #3AC53A
tetradic
#3A3AC5 #C53A80 #C5C53A #3AC580
square
#3A3AC5 #C53A80 #C5C53A #3AC580
split-complementary
#3A3AC5 #C5803A #80C53A
monochromatic
#1E1E66 #2C2C96 #3A3AC5 #6969D3 #9999E1

Accessibility & contrast

On white

8.10
#3A3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3A3AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3AC5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3AC5#FFFFFF#000000##FFFFFF
##3A3AC51.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3ac5;
/* rgb */ color: rgb(58, 58, 197);
/* oklch */ color: oklch(44.9% 0.209 274.1);
Tailwind
colors: {
  custom: {
    50: '#8471d8',
    500: '#3a3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ac5;
$custom-light: #8471d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ac5",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 240,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.4489,
    "c": 0.20854,
    "h": 274.1
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#3A3AC5
secondary
#CDCD8E
accent
#DE4ADE
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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