#3A2995#3A2995

#3A2995 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.167 H 282.0°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#3A2995
RGBrgb(58, 41, 149)
HSLhsl(249, 57%, 37%)
HSVhsv(249, 72%, 58%)
CMYKcmyk(61.1%, 72.5%, 0%, 41.6%)
CIE-LABlab(25.73, 38.91, -56.60)
CIE-LCHlch(25.73, 68.68, 304.50°)
OKLaboklab(37.66% 0.0347 -0.1631)
OKLCHoklch(37.66% 0.167 282)
XYZxyz(7.9610, 4.6548, 28.9069)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2995 #849529
analogous
#294E95 #3A2995 #702995
triadic
#3A2995 #953A29 #29953A
tetradic
#3A2995 #95294E #849529 #299570
square
#3A2995 #95294E #849529 #299570
split-complementary
#3A2995 #957029 #4E9529
monochromatic
#150F35 #271C65 #3A2995 #4D36C5 #7664D4

Accessibility & contrast

On white

10.88
#3A2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3A2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2995
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2995#FFFFFF#000000##FFFFFF
##3A29951.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a2995;
/* rgb */ color: rgb(58, 41, 149);
/* oklch */ color: oklch(37.7% 0.167 282.0);
Tailwind
colors: {
  custom: {
    50: '#7b65b5',
    500: '#3a2995',
    950: '#000000',
  },
}
SCSS
$custom: #3a2995;
$custom-light: #7b65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2995",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 249.444,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3766,
    "c": 0.16675,
    "h": 282
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#3A2995
secondary
#ACBA60
accent
#E048C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2995

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

Preview Lab → · Contrast checker → · Palette generator →

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