#3A3ACA#3A3ACA

#3A3ACA is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.4% C 0.215 H 273.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3A3ACA
RGBrgb(58, 58, 202)
HSLhsl(240, 58%, 51%)
HSVhsv(240, 71%, 79%)
CMYKcmyk(71.3%, 71.3%, 0%, 20.8%)
CIE-LABlab(34.37, 46.40, -74.07)
CIE-LCHlch(34.37, 87.40, 302.07°)
OKLaboklab(45.38% 0.014 -0.2142)
OKLCHoklch(45.38% 0.215 273.7)
XYZxyz(13.9151, 8.1886, 56.7129)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ACA #CACA3A
analogous
#3A82CA #3A3ACA #823ACA
triadic
#3A3ACA #CA3A3A #3ACA3A
tetradic
#3A3ACA #CA3A82 #CACA3A #3ACA82
square
#3A3ACA #CA3A82 #CACA3A #3ACA82
split-complementary
#3A3ACA #CA823A #82CA3A
monochromatic
#1D1D6C #2A2A9D #3A3ACA #6A6AD7 #9A9AE4

Accessibility & contrast

On white

7.96
#3A3ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3A3ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3ACA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3ACA#FFFFFF#000000##FFFFFF
##3A3ACA1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004AC7
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3aca;
/* rgb */ color: rgb(58, 58, 202);
/* oklch */ color: oklch(45.4% 0.215 273.7);
Tailwind
colors: {
  custom: {
    50: '#8571db',
    500: '#3a3aca',
    950: '#000000',
  },
}
SCSS
$custom: #3a3aca;
$custom-light: #8571db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3aca",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.21467,
    "h": 273.7
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#3A3ACA
secondary
#D0D090
accent
#E147E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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