#3A2FCC#3A2FCC

#3A2FCC is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.1% C 0.228 H 274.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3A2FCC
RGBrgb(58, 47, 204)
HSLhsl(244, 63%, 49%)
HSVhsv(244, 77%, 80%)
CMYKcmyk(71.6%, 77%, 0%, 20%)
CIE-LABlab(32.46, 53.00, -78.39)
CIE-LCHlch(32.46, 94.63, 304.06°)
OKLaboklab(44.09% 0.019 -0.2267)
OKLCHoklch(44.09% 0.228 274.8)
XYZxyz(13.6569, 7.2909, 57.8026)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FCC #C1CC2F
analogous
#2F73CC #3A2FCC #892FCC
triadic
#3A2FCC #CC3A2F #2FCC3A
tetradic
#3A2FCC #CC2F73 #C1CC2F #2FCC89
square
#3A2FCC #CC2F73 #C1CC2F #2FCC89
split-complementary
#3A2FCC #CC892F #73CC2F
monochromatic
#1E1869 #2C249A #3A2FCC #675EDA #9690E5

Accessibility & contrast

On white

8.54
#3A2FCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3A2FCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FCC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FCC#FFFFFF#000000##FFFFFF
##3A2FCC1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D0
Deuteranopia (green-blind)
#0045C9
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a2fcc;
/* rgb */ color: rgb(58, 47, 204);
/* oklch */ color: oklch(44.1% 0.228 274.8);
Tailwind
colors: {
  custom: {
    50: '#866bdd',
    500: '#3a2fcc',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fcc;
$custom-light: #866bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fcc",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 244.204,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44087,
    "c": 0.22751,
    "h": 274.8
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#3A2FCC
secondary
#CBD087
accent
#E642DA
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A2FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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