#3A2999#3A2999

#3A2999 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.172 H 281.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#3A2999
RGBrgb(58, 41, 153)
HSLhsl(249, 58%, 38%)
HSVhsv(249, 73%, 60%)
CMYKcmyk(62.1%, 73.2%, 0%, 40%)
CIE-LABlab(26.11, 40.18, -58.42)
CIE-LCHlch(26.11, 70.91, 304.52°)
OKLaboklab(38.05% 0.0339 -0.1684)
OKLCHoklch(38.05% 0.172 281.4)
XYZxyz(8.2858, 4.7847, 30.6177)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2999 #889929
analogous
#295099 #3A2999 #722999
triadic
#3A2999 #993A29 #29993A
tetradic
#3A2999 #992950 #889929 #299972
square
#3A2999 #992950 #889929 #299972
split-complementary
#3A2999 #997229 #509929
monochromatic
#150F38 #281C69 #3A2999 #4C36C9 #7766D6

Accessibility & contrast

On white

10.73
#3A2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3A2999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2999
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2999#FFFFFF#000000##FFFFFF
##3A29991.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a2999;
/* rgb */ color: rgb(58, 41, 153);
/* oklch */ color: oklch(38.1% 0.172 281.4);
Tailwind
colors: {
  custom: {
    50: '#7c65b8',
    500: '#3a2999',
    950: '#000000',
  },
}
SCSS
$custom: #3a2999;
$custom-light: #7c65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2999",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 249.107,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38051,
    "c": 0.17181,
    "h": 281.4
  },
  "luminance": 0.04785
}

Semantic roles & 50–950 ramp

primary
#3A2999
secondary
#AEBC62
accent
#E147CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3A2999

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

Preview Lab → · Contrast checker → · Palette generator →

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