#3E3CA3#3E3CA3

#3E3CA3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.161 H 277.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3E3CA3
RGBrgb(62, 60, 163)
HSLhsl(241, 46%, 44%)
HSVhsv(241, 63%, 64%)
CMYKcmyk(62%, 63.2%, 0%, 36.1%)
CIE-LABlab(31.58, 32.62, -55.54)
CIE-LCHlch(31.58, 64.41, 300.43°)
OKLaboklab(42.35% 0.022 -0.1599)
OKLCHoklch(42.35% 0.161 277.8)
XYZxyz(10.2112, 6.8994, 35.4369)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3CA3 #A1A33C
analogous
#3C6DA3 #3E3CA3 #713CA3
triadic
#3E3CA3 #A33E3C #3CA33E
tetradic
#3E3CA3 #A33C6D #A1A33C #3CA371
square
#3E3CA3 #A33C6D #A1A33C #3CA371
split-complementary
#3E3CA3 #A3713C #6DA33C
monochromatic
#1C1B4A #2D2C76 #3E3CA3 #5C5AC2 #8887D3

Accessibility & contrast

On white

8.82
#3E3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3E3CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3CA3
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3CA3#FFFFFF#000000##FFFFFF
##3E3CA31.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e3ca3;
/* rgb */ color: rgb(62, 60, 163);
/* oklch */ color: oklch(42.4% 0.161 277.8);
Tailwind
colors: {
  custom: {
    50: '#7e72bf',
    500: '#3e3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ca3;
$custom-light: #7e72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ca3",
  "rgb": {
    "r": 62,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 241.165,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42354,
    "c": 0.16138,
    "h": 277.8
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#3E3CA3
secondary
#BCBD7E
accent
#D652D3
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3E3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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