#3A299C#3A299C

#3A299C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.176 H 280.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#3A299C
RGBrgb(58, 41, 156)
HSLhsl(249, 58%, 39%)
HSVhsv(249, 74%, 61%)
CMYKcmyk(62.8%, 73.7%, 0%, 38.8%)
CIE-LABlab(26.40, 41.14, -59.78)
CIE-LCHlch(26.40, 72.56, 304.54°)
OKLaboklab(38.35% 0.0332 -0.1724)
OKLCHoklch(38.35% 0.176 280.9)
XYZxyz(8.5367, 4.8851, 31.9391)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A299C #8B9C29
analogous
#29519C #3A299C #73299C
triadic
#3A299C #9C3A29 #299C3A
tetradic
#3A299C #9C2951 #8B9C29 #299C73
square
#3A299C #9C2951 #8B9C29 #299C73
split-complementary
#3A299C #9C7329 #519C29
monochromatic
#16103B #281C6C #3A299C #4D38CB #7968D7

Accessibility & contrast

On white

10.62
#3A299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3A299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A299C
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A299C#FFFFFF#000000##FFFFFF
##3A299C1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a299c;
/* rgb */ color: rgb(58, 41, 156);
/* oklch */ color: oklch(38.3% 0.176 280.9);
Tailwind
colors: {
  custom: {
    50: '#7d65ba',
    500: '#3a299c',
    950: '#000000',
  },
}
SCSS
$custom: #3a299c;
$custom-light: #7d65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a299c",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 248.87,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38347,
    "c": 0.17557,
    "h": 280.9
  },
  "luminance": 0.04886
}

Semantic roles & 50–950 ramp

primary
#3A299C
secondary
#B0BE63
accent
#E246CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A299C

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

Preview Lab → · Contrast checker → · Palette generator →

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