#3A2CAF#3A2CAF

#3A2CAF is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.7% C 0.196 H 277.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#3A2CAF
RGBrgb(58, 44, 175)
HSLhsl(246, 60%, 43%)
HSVhsv(246, 75%, 69%)
CMYKcmyk(66.9%, 74.9%, 0%, 31.4%)
CIE-LABlab(28.89, 45.51, -67.17)
CIE-LCHlch(28.89, 81.14, 304.12°)
OKLaboklab(40.68% 0.0271 -0.194)
OKLCHoklch(40.68% 0.196 277.9)
XYZxyz(10.3810, 5.7952, 41.1206)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CAF #A1AF2C
analogous
#2C60AF #3A2CAF #7B2CAF
triadic
#3A2CAF #AF3A2C #2CAF3A
tetradic
#3A2CAF #AF2C60 #A1AF2C #2CAF7B
square
#3A2CAF #AF2C60 #A1AF2C #2CAF7B
split-complementary
#3A2CAF #AF7B2C #60AF2C
monochromatic
#1A134D #2A207E #3A2CAF #5647D1 #8378DD

Accessibility & contrast

On white

9.73
#3A2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3A2CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CAF
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CAF#FFFFFF#000000##FFFFFF
##3A2CAF1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a2caf;
/* rgb */ color: rgb(58, 44, 175);
/* oklch */ color: oklch(40.7% 0.196 277.9);
Tailwind
colors: {
  custom: {
    50: '#8068c8',
    500: '#3a2caf',
    950: '#000000',
  },
}
SCSS
$custom: #3a2caf;
$custom-light: #8068c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2caf",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 246.412,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40678,
    "c": 0.19589,
    "h": 277.9
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#3A2CAF
secondary
#BCC572
accent
#E345D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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