#3E29A8#3E29A8

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

Color values

HEX#3E29A8
RGBrgb(62, 41, 168)
HSLhsl(250, 61%, 41%)
HSVhsv(250, 76%, 66%)
CMYKcmyk(63.1%, 75.6%, 0%, 34.1%)
CIE-LABlab(27.94, 45.41, -64.51)
CIE-LCHlch(27.94, 78.89, 305.14°)
OKLaboklab(39.88% 0.0362 -0.1861)
OKLCHoklch(39.88% 0.19 281)
XYZxyz(9.8452, 5.4364, 37.5687)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E29A8 #93A829
analogous
#2953A8 #3E29A8 #7D29A8
triadic
#3E29A8 #A83E29 #29A83E
tetradic
#3E29A8 #A82953 #93A829 #29A87D
square
#3E29A8 #A82953 #93A829 #29A87D
split-complementary
#3E29A8 #A87D29 #53A829
monochromatic
#1A1146 #2C1D77 #3E29A8 #563ED0 #816FDC

Accessibility & contrast

On white

10.06
#3E29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E29A8
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E29A8#FFFFFF#000000##FFFFFF
##3E29A81.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.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: #3e29a8;
/* rgb */ color: rgb(62, 41, 168);
/* oklch */ color: oklch(39.9% 0.190 281.0);
Tailwind
colors: {
  custom: {
    50: '#8166c3',
    500: '#3e29a8',
    950: '#000000',
  },
}
SCSS
$custom: #3e29a8;
$custom-light: #8166c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e29a8",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 249.921,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39881,
    "c": 0.18961,
    "h": 281
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#3E29A8
secondary
#B4C36A
accent
#E444C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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