#3E4EC0#3E4EC0

#3E4EC0 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.178 H 271.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3E4EC0
RGBrgb(62, 78, 192)
HSLhsl(233, 51%, 50%)
HSVhsv(233, 68%, 75%)
CMYKcmyk(67.7%, 59.4%, 0%, 24.7%)
CIE-LABlab(38.34, 31.24, -61.73)
CIE-LCHlch(38.34, 69.19, 296.84°)
OKLaboklab(48.07% 0.0057 -0.1779)
OKLCHoklch(48.07% 0.178 271.8)
XYZxyz(14.2222, 10.2774, 51.0932)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EC0 #C0B03E
analogous
#3E8FC0 #3E4EC0 #6F3EC0
triadic
#3E4EC0 #C03E4E #4EC03E
tetradic
#3E4EC0 #C03E8F #C0B03E #3EC06F
square
#3E4EC0 #C03E8F #C0B03E #3EC06F
split-complementary
#3E4EC0 #C06F3E #8FC03E
monochromatic
#202863 #2F3B92 #3E4EC0 #6C78CF #9AA2DE

Accessibility & contrast

On white

6.87
#3E4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3E4EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4EC0
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EC0#FFFFFF#000000##FFFFFF
##3E4EC01.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e4ec0;
/* rgb */ color: rgb(62, 78, 192);
/* oklch */ color: oklch(48.1% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#837fd4',
    500: '#3e4ec0',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ec0;
$custom-light: #837fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ec0",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 232.615,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48066,
    "c": 0.178,
    "h": 271.8
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#3E4EC0
secondary
#CAC38F
accent
#C94DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3E4EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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