#3E4EC8#3E4EC8

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

Color values

HEX#3E4EC8
RGBrgb(62, 78, 200)
HSLhsl(233, 56%, 51%)
HSVhsv(233, 69%, 78%)
CMYKcmyk(69%, 61%, 0%, 21.6%)
CIE-LABlab(38.97, 34.06, -65.36)
CIE-LCHlch(38.97, 73.70, 297.52°)
OKLaboklab(48.73% 0.0056 -0.1885)
OKLCHoklch(48.73% 0.189 271.7)
XYZxyz(15.1328, 10.6416, 55.8889)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EC8 #C8B83E
analogous
#3E93C8 #3E4EC8 #733EC8
triadic
#3E4EC8 #C83E4E #4EC83E
tetradic
#3E4EC8 #C83E93 #C8B83E #3EC873
square
#3E4EC8 #C83E93 #C8B83E #3EC873
split-complementary
#3E4EC8 #C8733E #93C83E
monochromatic
#1F286D #2D399C #3E4EC8 #6E7AD6 #9DA5E3

Accessibility & contrast

On white

6.71
#3E4EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3E4EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4EC8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EC8#FFFFFF#000000##FFFFFF
##3E4EC81.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e4ec8;
/* rgb */ color: rgb(62, 78, 200);
/* oklch */ color: oklch(48.7% 0.189 271.7);
Tailwind
colors: {
  custom: {
    50: '#847fda',
    500: '#3e4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ec8;
$custom-light: #847fda;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ec8",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 233.043,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48734,
    "c": 0.18863,
    "h": 271.7
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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