#3E3FAC#3E3FAC

#3E3FAC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.170 H 276.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3E3FAC
RGBrgb(62, 63, 172)
HSLhsl(239, 47%, 46%)
HSVhsv(239, 64%, 67%)
CMYKcmyk(64%, 63.4%, 0%, 32.5%)
CIE-LABlab(33.04, 33.80, -58.55)
CIE-LCHlch(33.04, 67.61, 300.00°)
OKLaboklab(43.66% 0.0188 -0.1687)
OKLCHoklch(43.66% 0.17 276.4)
XYZxyz(11.2081, 7.5568, 39.8897)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3FAC #ACAB3E
analogous
#3E76AC #3E3FAC #743EAC
triadic
#3E3FAC #AC3E3F #3FAC3E
tetradic
#3E3FAC #AC3E76 #ACAB3E #3EAC74
square
#3E3FAC #AC3E76 #ACAB3E #3EAC74
split-complementary
#3E3FAC #AC743E #76AC3E
monochromatic
#1E1E52 #2E2F7F #3E3FAC #6162C6 #8E8FD6

Accessibility & contrast

On white

8.36
#3E3FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3E3FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3FAC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3FAC#FFFFFF#000000##FFFFFF
##3E3FAC1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3e3fac;
/* rgb */ color: rgb(62, 63, 172);
/* oklch */ color: oklch(43.7% 0.170 276.4);
Tailwind
colors: {
  custom: {
    50: '#8074c6',
    500: '#3e3fac',
    950: '#000000',
  },
}
SCSS
$custom: #3e3fac;
$custom-light: #8074c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3fac",
  "rgb": {
    "r": 62,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 239.455,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4366,
    "c": 0.16973,
    "h": 276.4
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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