#3D29A3#3D29A3

#3D29A3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.184 H 281.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3D29A3
RGBrgb(61, 41, 163)
HSLhsl(250, 60%, 40%)
HSVhsv(250, 75%, 64%)
CMYKcmyk(62.6%, 74.8%, 0%, 36.1%)
CIE-LABlab(27.36, 43.73, -62.46)
CIE-LCHlch(27.36, 76.25, 305.00°)
OKLaboklab(39.3% 0.036 -0.1801)
OKLCHoklch(39.3% 0.184 281.3)
XYZxyz(9.3262, 5.2216, 35.1597)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D29A3 #8FA329
analogous
#2952A3 #3D29A3 #7A29A3
triadic
#3D29A3 #A33D29 #29A33D
tetradic
#3D29A3 #A32952 #8FA329 #29A37A
square
#3D29A3 #A32952 #8FA329 #29A37A
split-complementary
#3D29A3 #A37A29 #52A329
monochromatic
#181041 #2B1D72 #3D29A3 #533BCE #7E6CDA

Accessibility & contrast

On white

10.27
#3D29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D29A3
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D29A3#FFFFFF#000000##FFFFFF
##3D29A31.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d29a3;
/* rgb */ color: rgb(61, 41, 163);
/* oklch */ color: oklch(39.3% 0.184 281.3);
Tailwind
colors: {
  custom: {
    50: '#8065bf',
    500: '#3d29a3',
    950: '#000000',
  },
}
SCSS
$custom: #3d29a3;
$custom-light: #8065bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d29a3",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 249.836,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.39295,
    "c": 0.18371,
    "h": 281.3
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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