#3E3ABA#3E3ABA

#3E3ABA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.1% C 0.194 H 276.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3E3ABA
RGBrgb(62, 58, 186)
HSLhsl(242, 52%, 48%)
HSVhsv(242, 69%, 73%)
CMYKcmyk(66.7%, 68.8%, 0%, 27.1%)
CIE-LABlab(33.12, 41.58, -66.73)
CIE-LCHlch(33.12, 78.62, 301.92°)
OKLaboklab(44.1% 0.0212 -0.1927)
OKLCHoklch(44.1% 0.194 276.3)
XYZxyz(12.3597, 7.5943, 47.2594)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3ABA #B6BA3A
analogous
#3A76BA #3E3ABA #7E3ABA
triadic
#3E3ABA #BA3E3A #3ABA3E
tetradic
#3E3ABA #BA3A76 #B6BA3A #3ABA7E
square
#3E3ABA #BA3A76 #B6BA3A #3ABA7E
split-complementary
#3E3ABA #BA7E3A #76BA3A
monochromatic
#1F1D5D #2E2B8B #3E3ABA #6663CE #9492DD

Accessibility & contrast

On white

8.34
#3E3ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3E3ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3ABA
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3ABA#FFFFFF#000000##FFFFFF
##3E3ABA1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0048B8
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3e3aba;
/* rgb */ color: rgb(62, 58, 186);
/* oklch */ color: oklch(44.1% 0.194 276.3);
Tailwind
colors: {
  custom: {
    50: '#8371d0',
    500: '#3e3aba',
    950: '#000000',
  },
}
SCSS
$custom: #3e3aba;
$custom-light: #8371d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3aba",
  "rgb": {
    "r": 62,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 241.875,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.19385,
    "h": 276.3
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#3E3ABA
secondary
#C6C888
accent
#DC4CD7
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3E3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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