#3E2DA5#3E2DA5

#3E2DA5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.182 H 280.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3E2DA5
RGBrgb(62, 45, 165)
HSLhsl(249, 57%, 41%)
HSVhsv(249, 73%, 65%)
CMYKcmyk(62.4%, 72.7%, 0%, 35.3%)
CIE-LABlab(28.42, 42.29, -61.91)
CIE-LCHlch(28.42, 74.98, 304.34°)
OKLaboklab(40.13% 0.0341 -0.1785)
OKLCHoklch(40.13% 0.182 280.8)
XYZxyz(9.7144, 5.6168, 36.1623)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DA5 #94A52D
analogous
#2D58A5 #3E2DA5 #7A2DA5
triadic
#3E2DA5 #A53E2D #2DA53E
tetradic
#3E2DA5 #A52D58 #94A52D #2DA57A
square
#3E2DA5 #A52D58 #94A52D #2DA57A
split-complementary
#3E2DA5 #A57A2D #58A52D
monochromatic
#1A1345 #2C2075 #3E2DA5 #5743CC #8273D9

Accessibility & contrast

On white

9.89
#3E2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E2DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DA5
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DA5#FFFFFF#000000##FFFFFF
##3E2DA51.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2da5;
/* rgb */ color: rgb(62, 45, 165);
/* oklch */ color: oklch(40.1% 0.182 280.8);
Tailwind
colors: {
  custom: {
    50: '#8068c1',
    500: '#3e2da5',
    950: '#000000',
  },
}
SCSS
$custom: #3e2da5;
$custom-light: #8068c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2da5",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 248.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40132,
    "c": 0.18177,
    "h": 280.8
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#3E2DA5
secondary
#B5C16D
accent
#E047CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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