#3A2CA8#3A2CA8

#3A2CA8 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.187 H 278.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#3A2CA8
RGBrgb(58, 44, 168)
HSLhsl(247, 58%, 42%)
HSVhsv(247, 74%, 66%)
CMYKcmyk(65.5%, 73.8%, 0%, 34.1%)
CIE-LABlab(28.19, 43.29, -64.12)
CIE-LCHlch(28.19, 77.37, 304.02°)
OKLaboklab(39.97% 0.0286 -0.1851)
OKLCHoklch(39.97% 0.187 278.8)
XYZxyz(9.7112, 5.5273, 37.5933)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CA8 #9AA82C
analogous
#2C5CA8 #3A2CA8 #782CA8
triadic
#3A2CA8 #A83A2C #2CA83A
tetradic
#3A2CA8 #A82C5C #9AA82C #2CA878
square
#3A2CA8 #A82C5C #9AA82C #2CA878
split-complementary
#3A2CA8 #A8782C #5CA82C
monochromatic
#191347 #291F78 #3A2CA8 #5343CE #7F74DB

Accessibility & contrast

On white

9.97
#3A2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3A2CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CA8
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CA8#FFFFFF#000000##FFFFFF
##3A2CA81.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2ca8;
/* rgb */ color: rgb(58, 44, 168);
/* oklch */ color: oklch(40.0% 0.187 278.8);
Tailwind
colors: {
  custom: {
    50: '#7f67c3',
    500: '#3a2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ca8;
$custom-light: #7f67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ca8",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 246.774,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39969,
    "c": 0.18731,
    "h": 278.8
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#3A2CA8
secondary
#B9C26E
accent
#E246D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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