#3A29A2#3A29A2

#3A29A2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.183 H 280.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3A29A2
RGBrgb(58, 41, 162)
HSLhsl(248, 60%, 40%)
HSVhsv(248, 75%, 64%)
CMYKcmyk(64.2%, 74.7%, 0%, 36.5%)
CIE-LABlab(27.00, 43.04, -62.45)
CIE-LCHlch(27.00, 75.84, 304.57°)
OKLaboklab(38.95% 0.0319 -0.1802)
OKLCHoklch(38.95% 0.183 280)
XYZxyz(9.0574, 5.0934, 34.6812)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29A2 #91A229
analogous
#2954A2 #3A29A2 #7729A2
triadic
#3A29A2 #A23A29 #29A23A
tetradic
#3A29A2 #A22954 #91A229 #29A277
square
#3A29A2 #A22954 #91A229 #29A277
split-complementary
#3A29A2 #A27729 #54A229
monochromatic
#171040 #291D71 #3A29A2 #4F3BCD #7B6CDA

Accessibility & contrast

On white

10.40
#3A29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3A29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29A2
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29A2#FFFFFF#000000##FFFFFF
##3A29A21.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a29a2;
/* rgb */ color: rgb(58, 41, 162);
/* oklch */ color: oklch(38.9% 0.183 280.0);
Tailwind
colors: {
  custom: {
    50: '#7e65bf',
    500: '#3a29a2',
    950: '#000000',
  },
}
SCSS
$custom: #3a29a2;
$custom-light: #7e65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29a2",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 248.43,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38948,
    "c": 0.18301,
    "h": 280
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#3A29A2
secondary
#B4C067
accent
#E345CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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