#3E3CA5#3E3CA5

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

Color values

HEX#3E3CA5
RGBrgb(62, 60, 165)
HSLhsl(241, 47%, 44%)
HSVhsv(241, 64%, 65%)
CMYKcmyk(62.4%, 63.6%, 0%, 35.3%)
CIE-LABlab(31.74, 33.30, -56.48)
CIE-LCHlch(31.74, 65.56, 300.52°)
OKLaboklab(42.53% 0.0219 -0.1626)
OKLCHoklch(42.53% 0.164 277.7)
XYZxyz(10.3918, 6.9717, 36.3881)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3CA5 #A3A53C
analogous
#3C6FA5 #3E3CA5 #733CA5
triadic
#3E3CA5 #A53E3C #3CA53E
tetradic
#3E3CA5 #A53C6F #A3A53C #3CA573
square
#3E3CA5 #A53C6F #A3A53C #3CA573
split-complementary
#3E3CA5 #A5733C #6FA53C
monochromatic
#1C1B4B #2D2C78 #3E3CA5 #5D5BC3 #8988D4

Accessibility & contrast

On white

8.77
#3E3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E3CA5
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3CA5#FFFFFF#000000##FFFFFF
##3E3CA51.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e3ca5;
/* rgb */ color: rgb(62, 60, 165);
/* oklch */ color: oklch(42.5% 0.164 277.7);
Tailwind
colors: {
  custom: {
    50: '#7f72c1',
    500: '#3e3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ca5;
$custom-light: #7f72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ca5",
  "rgb": {
    "r": 62,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 241.143,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42527,
    "c": 0.16408,
    "h": 277.7
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#3E3CA5
secondary
#BDBE7F
accent
#D651D4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3E3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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