#3A299D#3A299D

#3A299D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.177 H 280.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3A299D
RGBrgb(58, 41, 157)
HSLhsl(249, 59%, 39%)
HSVhsv(249, 74%, 62%)
CMYKcmyk(63.1%, 73.9%, 0%, 38.4%)
CIE-LABlab(26.50, 41.46, -60.22)
CIE-LCHlch(26.50, 73.11, 304.54°)
OKLaboklab(38.45% 0.033 -0.1737)
OKLCHoklch(38.45% 0.177 280.8)
XYZxyz(8.6217, 4.9191, 32.3869)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A299D #8C9D29
analogous
#29529D #3A299D #74299D
triadic
#3A299D #9D3A29 #299D3A
tetradic
#3A299D #9D2952 #8C9D29 #299D74
square
#3A299D #9D2952 #8C9D29 #299D74
split-complementary
#3A299D #9D7429 #529D29
monochromatic
#16103C #281C6C #3A299D #4E38CB #7969D8

Accessibility & contrast

On white

10.58
#3A299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A299D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A299D#FFFFFF#000000##FFFFFF
##3A299D1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a299d;
/* rgb */ color: rgb(58, 41, 157);
/* oklch */ color: oklch(38.4% 0.177 280.8);
Tailwind
colors: {
  custom: {
    50: '#7d65bb',
    500: '#3a299d',
    950: '#000000',
  },
}
SCSS
$custom: #3a299d;
$custom-light: #7d65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a299d",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 248.793,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38447,
    "c": 0.17682,
    "h": 280.8
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A299D

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

Preview Lab → · Contrast checker → · Palette generator →

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