#3E3AAA#3E3AAA

#3E3AAA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.173 H 277.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3E3AAA
RGBrgb(62, 58, 170)
HSLhsl(242, 49%, 45%)
HSVhsv(242, 66%, 67%)
CMYKcmyk(63.5%, 65.9%, 0%, 33.3%)
CIE-LABlab(31.70, 36.24, -59.55)
CIE-LCHlch(31.70, 69.71, 301.32°)
OKLaboklab(42.63% 0.0232 -0.1716)
OKLCHoklch(42.63% 0.173 277.7)
XYZxyz(10.7530, 6.9517, 38.7976)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3AAA #A6AA3A
analogous
#3A6EAA #3E3AAA #763AAA
triadic
#3E3AAA #AA3E3A #3AAA3E
tetradic
#3E3AAA #AA3A6E #A6AA3A #3AAA76
square
#3E3AAA #AA3A6E #A6AA3A #3AAA76
split-complementary
#3E3AAA #AA763A #6EAA3A
monochromatic
#1D1B4F #2D2A7C #3E3AAA #5E5AC7 #8B88D6

Accessibility & contrast

On white

8.78
#3E3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3E3AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3AAA
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3AAA#FFFFFF#000000##FFFFFF
##3E3AAA1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e3aaa;
/* rgb */ color: rgb(62, 58, 170);
/* oklch */ color: oklch(42.6% 0.173 277.7);
Tailwind
colors: {
  custom: {
    50: '#8071c4',
    500: '#3e3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3e3aaa;
$custom-light: #8071c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3aaa",
  "rgb": {
    "r": 62,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 242.143,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.17321,
    "h": 277.7
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

primary
#3E3AAA
secondary
#BEC17F
accent
#D94FD4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3E3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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