#3A29B0#3A29B0

#3A29B0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.4% C 0.200 H 278.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3A29B0
RGBrgb(58, 41, 176)
HSLhsl(248, 62%, 43%)
HSVhsv(248, 77%, 69%)
CMYKcmyk(67%, 76.7%, 0%, 31%)
CIE-LABlab(28.43, 47.42, -68.53)
CIE-LCHlch(28.43, 83.33, 304.68°)
OKLaboklab(40.39% 0.0286 -0.1979)
OKLCHoklch(40.39% 0.2 278.2)
XYZxyz(10.3718, 5.6191, 41.6039)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29B0 #9FB029
analogous
#295BB0 #3A29B0 #7E29B0
triadic
#3A29B0 #B03A29 #29B03A
tetradic
#3A29B0 #B0295B #9FB029 #29B07E
square
#3A29B0 #B0295B #9FB029 #29B07E
split-complementary
#3A29B0 #B07E29 #5BB029
monochromatic
#19124D #2A1D7E #3A29B0 #5543D3 #8275DF

Accessibility & contrast

On white

9.89
#3A29B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A29B0
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29B0#FFFFFF#000000##FFFFFF
##3A29B01.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a29b0;
/* rgb */ color: rgb(58, 41, 176);
/* oklch */ color: oklch(40.4% 0.200 278.2);
Tailwind
colors: {
  custom: {
    50: '#8166c9',
    500: '#3a29b0',
    950: '#000000',
  },
}
SCSS
$custom: #3a29b0;
$custom-light: #8166c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29b0",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 247.556,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40385,
    "c": 0.19998,
    "h": 278.2
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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