#3E2BAA#3E2BAA

#3E2BAA is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.190 H 280.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3E2BAA
RGBrgb(62, 43, 170)
HSLhsl(249, 60%, 42%)
HSVhsv(249, 75%, 67%)
CMYKcmyk(63.5%, 74.7%, 0%, 33.3%)
CIE-LABlab(28.52, 44.96, -64.77)
CIE-LCHlch(28.52, 78.84, 304.77°)
OKLaboklab(40.35% 0.0344 -0.1869)
OKLCHoklch(40.35% 0.19 280.4)
XYZxyz(10.1039, 5.6534, 38.5812)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2BAA #97AA2B
analogous
#2B58AA #3E2BAA #7D2BAA
triadic
#3E2BAA #AA3E2B #2BAA3E
tetradic
#3E2BAA #AA2B58 #97AA2B #2BAA7D
square
#3E2BAA #AA2B58 #97AA2B #2BAA7D
split-complementary
#3E2BAA #AA7D2B #58AA2B
monochromatic
#1A1248 #2C1F79 #3E2BAA #5843CF #8374DC

Accessibility & contrast

On white

9.86
#3E2BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E2BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2BAA
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2BAA#FFFFFF#000000##FFFFFF
##3E2BAA1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2baa;
/* rgb */ color: rgb(62, 43, 170);
/* oklch */ color: oklch(40.3% 0.190 280.4);
Tailwind
colors: {
  custom: {
    50: '#8167c4',
    500: '#3e2baa',
    950: '#000000',
  },
}
SCSS
$custom: #3e2baa;
$custom-light: #8167c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2baa",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 248.976,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40348,
    "c": 0.19001,
    "h": 280.4
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#3E2BAA
secondary
#B6C36E
accent
#E345CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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