#4E62E0#4E62E0

#4E62E0 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.2% C 0.192 H 271.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4E62E0
RGBrgb(78, 98, 224)
HSLhsl(232, 70%, 59%)
HSVhsv(232, 65%, 88%)
CMYKcmyk(65.2%, 56.3%, 0%, 12.2%)
CIE-LABlab(46.62, 32.14, -66.62)
CIE-LCHlch(46.62, 73.97, 295.76°)
OKLaboklab(55.23% 0.006 -0.1917)
OKLCHoklch(55.23% 0.192 271.8)
XYZxyz(20.9596, 15.7350, 72.4392)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62E0 #E0CC4E
analogous
#4EABE0 #4E62E0 #834EE0
triadic
#4E62E0 #E04E62 #62E04E
tetradic
#4E62E0 #E04EAB #E0CC4E #4EE083
square
#4E62E0 #E04EAB #E0CC4E #4EE083
split-complementary
#4E62E0 #E0834E #ABE04E
monochromatic
#1B2C99 #243BCD #4E62E0 #8290E9 #B6BEF2

Accessibility & contrast

On white

5.06
#4E62E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4E62E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62E0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62E0#FFFFFF#000000##FFFFFF
##4E62E01.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#0068DD
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e62e0;
/* rgb */ color: rgb(78, 98, 224);
/* oklch */ color: oklch(55.2% 0.192 271.8);
Tailwind
colors: {
  custom: {
    50: '#8f8eeb',
    500: '#4e62e0',
    950: '#000000',
  },
}
SCSS
$custom: #4e62e0;
$custom-light: #8f8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62e0",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 224
  },
  "hsl": {
    "h": 231.781,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55232,
    "c": 0.19177,
    "h": 271.8
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#4E62E0
secondary
#E1DAA8
accent
#D53BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E62E0

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

Preview Lab → · Contrast checker → · Palette generator →

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