#3E4EC5#3E4EC5

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

Color values

HEX#3E4EC5
RGBrgb(62, 78, 197)
HSLhsl(233, 54%, 51%)
HSVhsv(233, 69%, 77%)
CMYKcmyk(68.5%, 60.4%, 0%, 22.7%)
CIE-LABlab(38.73, 33.00, -64.01)
CIE-LCHlch(38.73, 72.01, 297.28°)
OKLaboklab(48.48% 0.0056 -0.1846)
OKLCHoklch(48.48% 0.185 271.7)
XYZxyz(14.7856, 10.5027, 54.0605)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EC5 #C5B53E
analogous
#3E91C5 #3E4EC5 #713EC5
triadic
#3E4EC5 #C53E4E #4EC53E
tetradic
#3E4EC5 #C53E91 #C5B53E #3EC571
square
#3E4EC5 #C53E91 #C5B53E #3EC571
split-complementary
#3E4EC5 #C5713E #91C53E
monochromatic
#202869 #2E3A98 #3E4EC5 #6D79D3 #9CA4E1

Accessibility & contrast

On white

6.77
#3E4EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3E4EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4EC5
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EC5#FFFFFF#000000##FFFFFF
##3E4EC51.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e4ec5;
/* rgb */ color: rgb(62, 78, 197);
/* oklch */ color: oklch(48.5% 0.185 271.7);
Tailwind
colors: {
  custom: {
    50: '#847fd7',
    500: '#3e4ec5',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ec5;
$custom-light: #847fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ec5",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 232.889,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.18467,
    "h": 271.7
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#3E4EC5
secondary
#CDC691
accent
#CC4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3E4EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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