#3A3CC3#3A3CC3

#3A3CC3 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.0% C 0.204 H 273.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3A3CC3
RGBrgb(58, 60, 195)
HSLhsl(239, 54%, 50%)
HSVhsv(239, 70%, 76%)
CMYKcmyk(70.3%, 69.2%, 0%, 23.5%)
CIE-LABlab(34.13, 42.91, -70.38)
CIE-LCHlch(34.13, 82.43, 301.37°)
OKLaboklab(45% 0.0139 -0.2034)
OKLCHoklch(45% 0.204 273.9)
XYZxyz(13.2078, 8.0701, 52.4808)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CC3 #C3C13A
analogous
#3A81C3 #3A3CC3 #7D3AC3
triadic
#3A3CC3 #C33A3C #3CC33A
tetradic
#3A3CC3 #C33A81 #C3C13A #3AC37D
square
#3A3CC3 #C33A81 #C3C13A #3AC37D
split-complementary
#3A3CC3 #C37D3A #81C33A
monochromatic
#1E1F65 #2C2D94 #3A3CC3 #686AD2 #9798E0

Accessibility & contrast

On white

8.03
#3A3CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3A3CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CC3
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CC3#FFFFFF#000000##FFFFFF
##3A3CC31.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3cc3;
/* rgb */ color: rgb(58, 60, 195);
/* oklch */ color: oklch(45.0% 0.204 273.9);
Tailwind
colors: {
  custom: {
    50: '#8373d6',
    500: '#3a3cc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cc3;
$custom-light: #8373d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cc3",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 239.124,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45004,
    "c": 0.20392,
    "h": 273.9
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

primary
#3A3CC3
secondary
#CCCB8D
accent
#DB4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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