#3829A2#3829A2

#3829A2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.183 H 279.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3829A2
RGBrgb(56, 41, 162)
HSLhsl(247, 60%, 40%)
HSVhsv(247, 75%, 64%)
CMYKcmyk(65.4%, 74.7%, 0%, 36.5%)
CIE-LABlab(26.83, 42.79, -62.73)
CIE-LCHlch(26.83, 75.94, 304.30°)
OKLaboklab(38.79% 0.0291 -0.1811)
OKLCHoklch(38.79% 0.183 279.1)
XYZxyz(8.9433, 5.0345, 34.6759)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3829A2 #93A229
analogous
#2957A2 #3829A2 #7529A2
triadic
#3829A2 #A23829 #29A238
tetradic
#3829A2 #A22957 #93A229 #29A275
square
#3829A2 #A22957 #93A229 #29A275
split-complementary
#3829A2 #A27529 #57A229
monochromatic
#161040 #271D71 #3829A2 #4D3BCD #796CDA

Accessibility & contrast

On white

10.46
#3829A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3829A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3829A2
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3829A2#FFFFFF#000000##FFFFFF
##3829A21.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3829a2;
/* rgb */ color: rgb(56, 41, 162);
/* oklch */ color: oklch(38.8% 0.183 279.1);
Tailwind
colors: {
  custom: {
    50: '#7d65bf',
    500: '#3829a2',
    950: '#000000',
  },
}
SCSS
$custom: #3829a2;
$custom-light: #7d65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3829a2",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 247.438,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38788,
    "c": 0.18341,
    "h": 279.1
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#3829A2
secondary
#B5C067
accent
#E345CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3829A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3829A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva