#3A3CC9#3A3CC9

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

Color values

HEX#3A3CC9
RGBrgb(58, 60, 201)
HSLhsl(239, 57%, 51%)
HSVhsv(239, 71%, 79%)
CMYKcmyk(71.1%, 70.1%, 0%, 21.2%)
CIE-LABlab(34.70, 44.91, -72.95)
CIE-LCHlch(34.70, 85.67, 301.62°)
OKLaboklab(45.58% 0.0131 -0.211)
OKLCHoklch(45.58% 0.211 273.5)
XYZxyz(13.8999, 8.3469, 56.1256)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CC9 #C9C73A
analogous
#3A83C9 #3A3CC9 #7F3AC9
triadic
#3A3CC9 #C93A3C #3CC93A
tetradic
#3A3CC9 #C93A83 #C9C73A #3AC97F
square
#3A3CC9 #C93A83 #C9C73A #3AC97F
split-complementary
#3A3CC9 #C97F3A #83C93A
monochromatic
#1D1E6B #2B2C9B #3A3CC9 #6A6CD6 #9A9BE3

Accessibility & contrast

On white

7.87
#3A3CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3A3CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CC9
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CC9#FFFFFF#000000##FFFFFF
##3A3CC91.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a3cc9;
/* rgb */ color: rgb(58, 60, 201);
/* oklch */ color: oklch(45.6% 0.211 273.5);
Tailwind
colors: {
  custom: {
    50: '#8473db',
    500: '#3a3cc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cc9;
$custom-light: #8473db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cc9",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 201
  },
  "hsl": {
    "h": 239.161,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.21136,
    "h": 273.5
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#3A3CC9
secondary
#CFCE90
accent
#DE48E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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