#3A3CC7#3A3CC7

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

Color values

HEX#3A3CC7
RGBrgb(58, 60, 199)
HSLhsl(239, 56%, 50%)
HSVhsv(239, 71%, 78%)
CMYKcmyk(70.9%, 69.8%, 0%, 22%)
CIE-LABlab(34.51, 44.25, -72.10)
CIE-LCHlch(34.51, 84.60, 301.54°)
OKLaboklab(45.39% 0.0134 -0.2085)
OKLCHoklch(45.39% 0.209 273.7)
XYZxyz(13.6661, 8.2534, 54.8946)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CC7 #C7C53A
analogous
#3A82C7 #3A3CC7 #7E3AC7
triadic
#3A3CC7 #C73A3C #3CC73A
tetradic
#3A3CC7 #C73A82 #C7C53A #3AC77E
square
#3A3CC7 #C73A82 #C7C53A #3AC77E
split-complementary
#3A3CC7 #C77E3A #82C73A
monochromatic
#1E1F69 #2B2D98 #3A3CC7 #6A6BD5 #999AE2

Accessibility & contrast

On white

7.92
#3A3CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3A3CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CC7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CC7#FFFFFF#000000##FFFFFF
##3A3CC71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3cc7;
/* rgb */ color: rgb(58, 60, 199);
/* oklch */ color: oklch(45.4% 0.209 273.7);
Tailwind
colors: {
  custom: {
    50: '#8473d9',
    500: '#3a3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cc7;
$custom-light: #8473d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cc7",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 239.149,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45389,
    "c": 0.2089,
    "h": 273.7
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#3A3CC7
secondary
#CECD8F
accent
#DD49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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