#3E3FAB#3E3FAB

#3E3FAB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.168 H 276.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3E3FAB
RGBrgb(62, 63, 171)
HSLhsl(239, 47%, 46%)
HSVhsv(239, 64%, 67%)
CMYKcmyk(63.7%, 63.2%, 0%, 32.9%)
CIE-LABlab(32.96, 33.46, -58.09)
CIE-LCHlch(32.96, 67.04, 299.94°)
OKLaboklab(43.57% 0.0189 -0.1673)
OKLCHoklch(43.57% 0.168 276.4)
XYZxyz(11.1124, 7.5185, 39.3858)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3FAB #ABAA3E
analogous
#3E75AB #3E3FAB #743EAB
triadic
#3E3FAB #AB3E3F #3FAB3E
tetradic
#3E3FAB #AB3E75 #ABAA3E #3EAB74
square
#3E3FAB #AB3E75 #ABAA3E #3EAB74
split-complementary
#3E3FAB #AB743E #75AB3E
monochromatic
#1D1E51 #2E2E7E #3E3FAB #6162C6 #8E8ED6

Accessibility & contrast

On white

8.39
#3E3FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3E3FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3FAB
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3FAB#FFFFFF#000000##FFFFFF
##3E3FAB1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e3fab;
/* rgb */ color: rgb(62, 63, 171);
/* oklch */ color: oklch(43.6% 0.168 276.4);
Tailwind
colors: {
  custom: {
    50: '#8074c5',
    500: '#3e3fab',
    950: '#000000',
  },
}
SCSS
$custom: #3e3fab;
$custom-light: #8074c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3fab",
  "rgb": {
    "r": 62,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 239.45,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43573,
    "c": 0.16839,
    "h": 276.4
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#3E3FAB
secondary
#C1C084
accent
#D551D6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3E3FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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