#4E62E2#4E62E2

#4E62E2 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.4% C 0.194 H 271.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E62E2
RGBrgb(78, 98, 226)
HSLhsl(232, 72%, 60%)
HSVhsv(232, 65%, 89%)
CMYKcmyk(65.5%, 56.6%, 0%, 11.4%)
CIE-LABlab(46.77, 32.83, -67.52)
CIE-LCHlch(46.77, 75.08, 295.93°)
OKLaboklab(55.39% 0.006 -0.1943)
OKLCHoklch(55.39% 0.194 271.8)
XYZxyz(21.2324, 15.8441, 73.8760)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62E2 #E2CE4E
analogous
#4EACE2 #4E62E2 #844EE2
triadic
#4E62E2 #E24E62 #62E24E
tetradic
#4E62E2 #E24EAC #E2CE4E #4EE284
square
#4E62E2 #E24EAC #E2CE4E #4EE284
split-complementary
#4E62E2 #E2844E #ACE24E
monochromatic
#1A2B9C #223AD1 #4E62E2 #8391EB #B7BFF3

Accessibility & contrast

On white

5.04
#4E62E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4E62E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62E2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62E2#FFFFFF#000000##FFFFFF
##4E62E21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e62e2;
/* rgb */ color: rgb(78, 98, 226);
/* oklch */ color: oklch(55.4% 0.194 271.8);
Tailwind
colors: {
  custom: {
    50: '#8f8eec',
    500: '#4e62e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e62e2;
$custom-light: #8f8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62e2",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 231.892,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55385,
    "c": 0.19441,
    "h": 271.8
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#4E62E2
secondary
#E3DBA9
accent
#D639EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E62E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4E62E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva