#3A3CCA#3A3CCA

#3A3CCA is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.7% C 0.213 H 273.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3A3CCA
RGBrgb(58, 60, 202)
HSLhsl(239, 58%, 51%)
HSVhsv(239, 71%, 79%)
CMYKcmyk(71.3%, 70.3%, 0%, 20.8%)
CIE-LABlab(34.79, 45.25, -73.38)
CIE-LCHlch(34.79, 86.21, 301.66°)
OKLaboklab(45.68% 0.0129 -0.2122)
OKLCHoklch(45.68% 0.213 273.5)
XYZxyz(14.0179, 8.3941, 56.7471)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CCA #CAC83A
analogous
#3A84CA #3A3CCA #803ACA
triadic
#3A3CCA #CA3A3C #3CCA3A
tetradic
#3A3CCA #CA3A84 #CAC83A #3ACA80
square
#3A3CCA #CA3A84 #CAC83A #3ACA80
split-complementary
#3A3CCA #CA803A #84CA3A
monochromatic
#1D1E6C #2A2C9D #3A3CCA #6A6CD7 #9A9BE4

Accessibility & contrast

On white

7.84
#3A3CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3A3CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CCA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CCA#FFFFFF#000000##FFFFFF
##3A3CCA1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a3cca;
/* rgb */ color: rgb(58, 60, 202);
/* oklch */ color: oklch(45.7% 0.213 273.5);
Tailwind
colors: {
  custom: {
    50: '#8573db',
    500: '#3a3cca',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cca;
$custom-light: #8573db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cca",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 239.167,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4568,
    "c": 0.21259,
    "h": 273.5
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#3A3CCA
secondary
#D0CF90
accent
#DF47E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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