#3A3AC9#3A3AC9

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

Color values

HEX#3A3AC9
RGBrgb(58, 58, 201)
HSLhsl(240, 57%, 51%)
HSVhsv(240, 71%, 79%)
CMYKcmyk(71.1%, 71.1%, 0%, 21.2%)
CIE-LABlab(34.28, 46.07, -73.65)
CIE-LCHlch(34.28, 86.87, 302.03°)
OKLaboklab(45.28% 0.0142 -0.213)
OKLCHoklch(45.28% 0.213 273.8)
XYZxyz(13.7971, 8.1413, 56.0913)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3AC9 #C9C93A
analogous
#3A81C9 #3A3AC9 #813AC9
triadic
#3A3AC9 #C93A3A #3AC93A
tetradic
#3A3AC9 #C93A81 #C9C93A #3AC981
square
#3A3AC9 #C93A81 #C9C93A #3AC981
split-complementary
#3A3AC9 #C9813A #81C93A
monochromatic
#1D1D6B #2B2B9B #3A3AC9 #6A6AD6 #9A9AE3

Accessibility & contrast

On white

7.99
#3A3AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3A3AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3AC9
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3AC9#FFFFFF#000000##FFFFFF
##3A3AC91.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#004AC6
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3ac9;
/* rgb */ color: rgb(58, 58, 201);
/* oklch */ color: oklch(45.3% 0.213 273.8);
Tailwind
colors: {
  custom: {
    50: '#8571db',
    500: '#3a3ac9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ac9;
$custom-light: #8571db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ac9",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 240,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.21344,
    "h": 273.8
  },
  "luminance": 0.08143
}

Semantic roles & 50–950 ramp

primary
#3A3AC9
secondary
#CFCF90
accent
#E048E0
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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