#3D29A8#3D29A8

#3D29A8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.190 H 280.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#3D29A8
RGBrgb(61, 41, 168)
HSLhsl(249, 61%, 41%)
HSVhsv(249, 76%, 66%)
CMYKcmyk(63.7%, 75.6%, 0%, 34.1%)
CIE-LABlab(27.86, 45.28, -64.66)
CIE-LCHlch(27.86, 78.94, 305.01°)
OKLaboklab(39.8% 0.0348 -0.1866)
OKLCHoklch(39.8% 0.19 280.6)
XYZxyz(9.7831, 5.4044, 37.5658)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D29A8 #94A829
analogous
#2954A8 #3D29A8 #7C29A8
triadic
#3D29A8 #A83D29 #29A83D
tetradic
#3D29A8 #A82954 #94A829 #29A87C
square
#3D29A8 #A82954 #94A829 #29A87C
split-complementary
#3D29A8 #A87C29 #54A829
monochromatic
#191146 #2B1D77 #3D29A8 #553ED0 #816FDC

Accessibility & contrast

On white

10.09
#3D29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3D29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D29A8
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D29A8#FFFFFF#000000##FFFFFF
##3D29A81.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d29a8;
/* rgb */ color: rgb(61, 41, 168);
/* oklch */ color: oklch(39.8% 0.190 280.6);
Tailwind
colors: {
  custom: {
    50: '#8066c3',
    500: '#3d29a8',
    950: '#000000',
  },
}
SCSS
$custom: #3d29a8;
$custom-light: #8066c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d29a8",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 249.449,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39799,
    "c": 0.18978,
    "h": 280.6
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#3D29A8
secondary
#B5C36A
accent
#E444CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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