#3D29A2#3D29A2

#3D29A2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.182 H 281.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3D29A2
RGBrgb(61, 41, 162)
HSLhsl(250, 60%, 40%)
HSVhsv(250, 75%, 64%)
CMYKcmyk(62.3%, 74.7%, 0%, 36.5%)
CIE-LABlab(27.26, 43.42, -62.01)
CIE-LCHlch(27.26, 75.71, 305.00°)
OKLaboklab(39.2% 0.0362 -0.1788)
OKLCHoklch(39.2% 0.182 281.4)
XYZxyz(9.2369, 5.1859, 34.6896)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D29A2 #8EA229
analogous
#2952A2 #3D29A2 #7929A2
triadic
#3D29A2 #A23D29 #29A23D
tetradic
#3D29A2 #A22952 #8EA229 #29A279
square
#3D29A2 #A22952 #8EA229 #29A279
split-complementary
#3D29A2 #A27929 #52A229
monochromatic
#181040 #2B1D71 #3D29A2 #533BCD #7E6CDA

Accessibility & contrast

On white

10.31
#3D29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3D29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D29A2
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D29A2#FFFFFF#000000##FFFFFF
##3D29A21.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d29a2;
/* rgb */ color: rgb(61, 41, 162);
/* oklch */ color: oklch(39.2% 0.182 281.4);
Tailwind
colors: {
  custom: {
    50: '#7f65bf',
    500: '#3d29a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d29a2;
$custom-light: #7f65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d29a2",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 249.917,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39195,
    "c": 0.18248,
    "h": 281.4
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#3D29A2
secondary
#B1C067
accent
#E345C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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