#3A299F#3A299F

#3A299F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.179 H 280.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3A299F
RGBrgb(58, 41, 159)
HSLhsl(249, 59%, 39%)
HSVhsv(249, 74%, 62%)
CMYKcmyk(63.5%, 74.2%, 0%, 37.6%)
CIE-LABlab(26.70, 42.09, -61.12)
CIE-LCHlch(26.70, 74.21, 304.55°)
OKLaboklab(38.65% 0.0326 -0.1763)
OKLCHoklch(38.65% 0.179 280.5)
XYZxyz(8.7939, 4.9880, 33.2935)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A299F #8E9F29
analogous
#29539F #3A299F #75299F
triadic
#3A299F #9F3A29 #299F3A
tetradic
#3A299F #9F2953 #8E9F29 #299F75
square
#3A299F #9F2953 #8E9F29 #299F75
split-complementary
#3A299F #9F7529 #539F29
monochromatic
#17103E #281C6E #3A299F #4E39CC #7A6AD9

Accessibility & contrast

On white

10.51
#3A299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3A299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A299F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A299F#FFFFFF#000000##FFFFFF
##3A299F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a299f;
/* rgb */ color: rgb(58, 41, 159);
/* oklch */ color: oklch(38.6% 0.179 280.5);
Tailwind
colors: {
  custom: {
    50: '#7d65bc',
    500: '#3a299f',
    950: '#000000',
  },
}
SCSS
$custom: #3a299f;
$custom-light: #7d65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a299f",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 248.644,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38646,
    "c": 0.1793,
    "h": 280.5
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#3A299F
secondary
#B2BF65
accent
#E246CC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A299F

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

Preview Lab → · Contrast checker → · Palette generator →

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