#3A29AF#3A29AF

#3A29AF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.199 H 278.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3A29AF
RGBrgb(58, 41, 175)
HSLhsl(248, 62%, 42%)
HSVhsv(248, 77%, 69%)
CMYKcmyk(66.9%, 76.6%, 0%, 31.4%)
CIE-LABlab(28.33, 47.11, -68.10)
CIE-LCHlch(28.33, 82.81, 304.68°)
OKLaboklab(40.28% 0.0288 -0.1967)
OKLCHoklch(40.28% 0.199 278.3)
XYZxyz(10.2732, 5.5797, 41.0847)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29AF #9EAF29
analogous
#295BAF #3A29AF #7D29AF
triadic
#3A29AF #AF3A29 #29AF3A
tetradic
#3A29AF #AF295B #9EAF29 #29AF7D
square
#3A29AF #AF295B #9EAF29 #29AF7D
split-complementary
#3A29AF #AF7D29 #5BAF29
monochromatic
#19124C #2A1D7D #3A29AF #5542D3 #8174DE

Accessibility & contrast

On white

9.92
#3A29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3A29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29AF
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29AF#FFFFFF#000000##FFFFFF
##3A29AF1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a29af;
/* rgb */ color: rgb(58, 41, 175);
/* oklch */ color: oklch(40.3% 0.199 278.3);
Tailwind
colors: {
  custom: {
    50: '#8166c8',
    500: '#3a29af',
    950: '#000000',
  },
}
SCSS
$custom: #3a29af;
$custom-light: #8166c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29af",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 247.612,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.19879,
    "h": 278.3
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#3A29AF
secondary
#BBC66E
accent
#E543D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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