#3A299A#3A299A

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

Color values

HEX#3A299A
RGBrgb(58, 41, 154)
HSLhsl(249, 58%, 38%)
HSVhsv(249, 73%, 60%)
CMYKcmyk(62.3%, 73.4%, 0%, 39.6%)
CIE-LABlab(26.21, 40.50, -58.87)
CIE-LCHlch(26.21, 71.46, 304.53°)
OKLaboklab(38.15% 0.0337 -0.1698)
OKLCHoklch(38.15% 0.173 281.2)
XYZxyz(8.3688, 4.8179, 31.0545)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A299A #899A29
analogous
#29509A #3A299A #73299A
triadic
#3A299A #9A3A29 #299A3A
tetradic
#3A299A #9A2950 #899A29 #299A73
square
#3A299A #9A2950 #899A29 #299A73
split-complementary
#3A299A #9A7329 #509A29
monochromatic
#160F39 #281C6A #3A299A #4D37CA #7867D7

Accessibility & contrast

On white

10.69
#3A299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A299A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A299A#FFFFFF#000000##FFFFFF
##3A299A1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a299a;
/* rgb */ color: rgb(58, 41, 154);
/* oklch */ color: oklch(38.1% 0.173 281.2);
Tailwind
colors: {
  custom: {
    50: '#7c65b9',
    500: '#3a299a',
    950: '#000000',
  },
}
SCSS
$custom: #3a299a;
$custom-light: #7c65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a299a",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 249.027,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38149,
    "c": 0.17306,
    "h": 281.2
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#3A299A
secondary
#AFBD62
accent
#E147CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A299A

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

Preview Lab → · Contrast checker → · Palette generator →

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