#3E3EAC#3E3EAC

#3E3EAC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.171 H 276.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#3E3EAC
RGBrgb(62, 62, 172)
HSLhsl(240, 47%, 46%)
HSVhsv(240, 64%, 67%)
CMYKcmyk(64%, 64%, 0%, 32.5%)
CIE-LABlab(32.80, 34.43, -58.94)
CIE-LCHlch(32.80, 68.26, 300.29°)
OKLaboklab(43.49% 0.0197 -0.1698)
OKLCHoklch(43.49% 0.171 276.6)
XYZxyz(11.1532, 7.4470, 39.8714)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3EAC #ACAC3E
analogous
#3E75AC #3E3EAC #753EAC
triadic
#3E3EAC #AC3E3E #3EAC3E
tetradic
#3E3EAC #AC3E75 #ACAC3E #3EAC75
square
#3E3EAC #AC3E75 #ACAC3E #3EAC75
split-complementary
#3E3EAC #AC753E #75AC3E
monochromatic
#1E1E52 #2E2E7F #3E3EAC #6161C6 #8E8ED6

Accessibility & contrast

On white

8.44
#3E3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3E3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3EAC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3EAC#FFFFFF#000000##FFFFFF
##3E3EAC1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e3eac;
/* rgb */ color: rgb(62, 62, 172);
/* oklch */ color: oklch(43.5% 0.171 276.6);
Tailwind
colors: {
  custom: {
    50: '#8073c6',
    500: '#3e3eac',
    950: '#000000',
  },
}
SCSS
$custom: #3e3eac;
$custom-light: #8073c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3eac",
  "rgb": {
    "r": 62,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43485,
    "c": 0.17096,
    "h": 276.6
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#3E3EAC
secondary
#C1C185
accent
#D751D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3E3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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