#3E4EC7#3E4EC7

#3E4EC7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.187 H 271.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3E4EC7
RGBrgb(62, 78, 199)
HSLhsl(233, 55%, 51%)
HSVhsv(233, 69%, 78%)
CMYKcmyk(68.8%, 60.8%, 0%, 22%)
CIE-LABlab(38.89, 33.71, -64.91)
CIE-LCHlch(38.89, 73.14, 297.44°)
OKLaboklab(48.65% 0.0056 -0.1872)
OKLCHoklch(48.65% 0.187 271.7)
XYZxyz(15.0163, 10.5950, 55.2754)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EC7 #C7B73E
analogous
#3E92C7 #3E4EC7 #723EC7
triadic
#3E4EC7 #C73E4E #4EC73E
tetradic
#3E4EC7 #C73E92 #C7B73E #3EC772
square
#3E4EC7 #C73E92 #C7B73E #3EC772
split-complementary
#3E4EC7 #C7723E #92C73E
monochromatic
#1F286B #2D3A9B #3E4EC7 #6D7AD5 #9DA5E3

Accessibility & contrast

On white

6.73
#3E4EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3E4EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4EC7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EC7#FFFFFF#000000##FFFFFF
##3E4EC71.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e4ec7;
/* rgb */ color: rgb(62, 78, 199);
/* oklch */ color: oklch(48.6% 0.187 271.7);
Tailwind
colors: {
  custom: {
    50: '#847fd9',
    500: '#3e4ec7',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ec7;
$custom-light: #847fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ec7",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 232.993,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4865,
    "c": 0.18731,
    "h": 271.7
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#3E4EC7
secondary
#CFC892
accent
#CD49DE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3E4EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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