#3E4DC7#3E4DC7

#3E4DC7 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.189 H 271.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3E4DC7
RGBrgb(62, 77, 199)
HSLhsl(233, 55%, 51%)
HSVhsv(233, 69%, 78%)
CMYKcmyk(68.8%, 61.3%, 0%, 22%)
CIE-LABlab(38.65, 34.34, -65.31)
CIE-LCHlch(38.65, 73.78, 297.73°)
OKLaboklab(48.47% 0.0064 -0.1884)
OKLCHoklch(48.47% 0.189 271.9)
XYZxyz(14.9458, 10.4540, 55.2519)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4DC7 #C7B83E
analogous
#3E91C7 #3E4DC7 #733EC7
triadic
#3E4DC7 #C73E4D #4DC73E
tetradic
#3E4DC7 #C73E91 #C7B83E #3EC773
square
#3E4DC7 #C73E91 #C7B83E #3EC773
split-complementary
#3E4DC7 #C7733E #91C73E
monochromatic
#1F286B #2D399B #3E4DC7 #6D79D5 #9DA4E3

Accessibility & contrast

On white

6.79
#3E4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3E4DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4DC7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4DC7#FFFFFF#000000##FFFFFF
##3E4DC71.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e4dc7;
/* rgb */ color: rgb(62, 77, 199);
/* oklch */ color: oklch(48.5% 0.189 271.9);
Tailwind
colors: {
  custom: {
    50: '#847ed9',
    500: '#3e4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #3e4dc7;
$custom-light: #847ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4dc7",
  "rgb": {
    "r": 62,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 233.431,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48469,
    "c": 0.18852,
    "h": 271.9
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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