#3A3ACC#3A3ACC

#3A3ACC is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.6% C 0.217 H 273.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3A3ACC
RGBrgb(58, 58, 204)
HSLhsl(240, 59%, 51%)
HSVhsv(240, 72%, 80%)
CMYKcmyk(71.6%, 71.6%, 0%, 20%)
CIE-LABlab(34.57, 47.06, -74.91)
CIE-LCHlch(34.57, 88.47, 302.14°)
OKLaboklab(45.58% 0.0137 -0.2167)
OKLCHoklch(45.58% 0.217 273.6)
XYZxyz(14.1534, 8.2839, 57.9681)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ACC #CCCC3A
analogous
#3A83CC #3A3ACC #833ACC
triadic
#3A3ACC #CC3A3A #3ACC3A
tetradic
#3A3ACC #CC3A83 #CCCC3A #3ACC83
square
#3A3ACC #CC3A83 #CCCC3A #3ACC83
split-complementary
#3A3ACC #CC833A #83CC3A
monochromatic
#1D1D6F #2929A0 #3A3ACC #6B6BD9 #9B9BE5

Accessibility & contrast

On white

7.90
#3A3ACC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3A3ACC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3ACC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3ACC#FFFFFF#000000##FFFFFF
##3A3ACC1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004AC9
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3acc;
/* rgb */ color: rgb(58, 58, 204);
/* oklch */ color: oklch(45.6% 0.217 273.6);
Tailwind
colors: {
  custom: {
    50: '#8572dd',
    500: '#3a3acc',
    950: '#000000',
  },
}
SCSS
$custom: #3a3acc;
$custom-light: #8572dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3acc",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.21709,
    "h": 273.6
  },
  "luminance": 0.08285
}

Semantic roles & 50–950 ramp

primary
#3A3ACC
secondary
#D1D191
accent
#E246E2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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