#3B29A2#3B29A2

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

Color values

HEX#3B29A2
RGBrgb(59, 41, 162)
HSLhsl(249, 60%, 40%)
HSVhsv(249, 75%, 64%)
CMYKcmyk(63.6%, 74.7%, 0%, 36.5%)
CIE-LABlab(27.08, 43.17, -62.31)
CIE-LCHlch(27.08, 75.80, 304.71°)
OKLaboklab(39.03% 0.0333 -0.1798)
OKLCHoklch(39.03% 0.183 280.5)
XYZxyz(9.1161, 5.1236, 34.6840)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B29A2 #90A229
analogous
#2953A2 #3B29A2 #7829A2
triadic
#3B29A2 #A23B29 #29A23B
tetradic
#3B29A2 #A22953 #90A229 #29A278
square
#3B29A2 #A22953 #90A229 #29A278
split-complementary
#3B29A2 #A27829 #53A229
monochromatic
#171040 #291D71 #3B29A2 #513BCD #7C6CDA

Accessibility & contrast

On white

10.37
#3B29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B29A2
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B29A2#FFFFFF#000000##FFFFFF
##3B29A21.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.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: #3b29a2;
/* rgb */ color: rgb(59, 41, 162);
/* oklch */ color: oklch(39.0% 0.183 280.5);
Tailwind
colors: {
  custom: {
    50: '#7e65bf',
    500: '#3b29a2',
    950: '#000000',
  },
}
SCSS
$custom: #3b29a2;
$custom-light: #7e65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b29a2",
  "rgb": {
    "r": 59,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 248.926,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.18283,
    "h": 280.5
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#3B29A2
secondary
#B3C067
accent
#E345CB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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