#3E4EC1#3E4EC1

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

Color values

HEX#3E4EC1
RGBrgb(62, 78, 193)
HSLhsl(233, 51%, 50%)
HSVhsv(233, 68%, 76%)
CMYKcmyk(67.9%, 59.6%, 0%, 24.3%)
CIE-LABlab(38.41, 31.60, -62.19)
CIE-LCHlch(38.41, 69.76, 296.93°)
OKLaboklab(48.15% 0.0057 -0.1792)
OKLCHoklch(48.15% 0.179 271.8)
XYZxyz(14.3334, 10.3218, 51.6787)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EC1 #C1B13E
analogous
#3E8FC1 #3E4EC1 #703EC1
triadic
#3E4EC1 #C13E4E #4EC13E
tetradic
#3E4EC1 #C13E8F #C1B13E #3EC170
square
#3E4EC1 #C13E8F #C1B13E #3EC170
split-complementary
#3E4EC1 #C1703E #8FC13E
monochromatic
#202964 #2F3B93 #3E4EC1 #6C78D0 #9BA3DF

Accessibility & contrast

On white

6.85
#3E4EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3E4EC1
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EC1#FFFFFF#000000##FFFFFF
##3E4EC11.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e4ec1;
/* rgb */ color: rgb(62, 78, 193);
/* oklch */ color: oklch(48.1% 0.179 271.8);
Tailwind
colors: {
  custom: {
    50: '#837fd5',
    500: '#3e4ec1',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ec1;
$custom-light: #837fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ec1",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 232.672,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.48149,
    "c": 0.17934,
    "h": 271.8
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#3E4EC1
secondary
#CBC490
accent
#CA4DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3E4EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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