#3E4EC6#3E4EC6

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

Color values

HEX#3E4EC6
RGBrgb(62, 78, 198)
HSLhsl(233, 54%, 51%)
HSVhsv(233, 69%, 78%)
CMYKcmyk(68.7%, 60.6%, 0%, 22.4%)
CIE-LABlab(38.81, 33.35, -64.46)
CIE-LCHlch(38.81, 72.58, 297.36°)
OKLaboklab(48.57% 0.0056 -0.1859)
OKLCHoklch(48.57% 0.186 271.7)
XYZxyz(14.9006, 10.5487, 54.6660)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EC6 #C6B63E
analogous
#3E92C6 #3E4EC6 #723EC6
triadic
#3E4EC6 #C63E4E #4EC63E
tetradic
#3E4EC6 #C63E92 #C6B63E #3EC672
square
#3E4EC6 #C63E92 #C6B63E #3EC672
split-complementary
#3E4EC6 #C6723E #92C63E
monochromatic
#1F286A #2D3A99 #3E4EC6 #6D79D4 #9CA5E2

Accessibility & contrast

On white

6.75
#3E4EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3E4EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4EC6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EC6#FFFFFF#000000##FFFFFF
##3E4EC61.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e4ec6;
/* rgb */ color: rgb(62, 78, 198);
/* oklch */ color: oklch(48.6% 0.186 271.7);
Tailwind
colors: {
  custom: {
    50: '#847fd8',
    500: '#3e4ec6',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ec6;
$custom-light: #847fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ec6",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 198
  },
  "hsl": {
    "h": 232.941,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48566,
    "c": 0.18599,
    "h": 271.7
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

primary
#3E4EC6
secondary
#CEC792
accent
#CC4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3E4EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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