#3A29A6#3A29A6

#3A29A6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.4% C 0.188 H 279.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#3A29A6
RGBrgb(58, 41, 166)
HSLhsl(248, 60%, 41%)
HSVhsv(248, 75%, 65%)
CMYKcmyk(65.1%, 75.3%, 0%, 34.9%)
CIE-LABlab(27.40, 44.30, -64.21)
CIE-LCHlch(27.40, 78.01, 304.60°)
OKLaboklab(39.35% 0.031 -0.1853)
OKLCHoklch(39.35% 0.188 279.5)
XYZxyz(9.4186, 5.2378, 36.5837)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29A6 #95A629
analogous
#2956A6 #3A29A6 #7829A6
triadic
#3A29A6 #A63A29 #29A63A
tetradic
#3A29A6 #A62956 #95A629 #29A678
square
#3A29A6 #A62956 #95A629 #29A678
split-complementary
#3A29A6 #A67829 #56A629
monochromatic
#181144 #291D75 #3A29A6 #513DCF #7D6EDB

Accessibility & contrast

On white

10.25
#3A29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3A29A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29A6
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29A6#FFFFFF#000000##FFFFFF
##3A29A61.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a29a6;
/* rgb */ color: rgb(58, 41, 166);
/* oklch */ color: oklch(39.4% 0.188 279.5);
Tailwind
colors: {
  custom: {
    50: '#7f65c2',
    500: '#3a29a6',
    950: '#000000',
  },
}
SCSS
$custom: #3a29a6;
$custom-light: #7f65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29a6",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 248.16,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.18792,
    "h": 279.5
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#3A29A6
secondary
#B6C269
accent
#E444CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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