#4E62D2#4E62D2

#4E62D2 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.173 H 271.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4E62D2
RGBrgb(78, 98, 210)
HSLhsl(231, 59%, 56%)
HSVhsv(231, 63%, 82%)
CMYKcmyk(62.9%, 53.3%, 0%, 17.6%)
CIE-LABlab(45.64, 27.36, -60.24)
CIE-LCHlch(45.64, 66.16, 294.43°)
OKLaboklab(54.19% 0.0054 -0.1729)
OKLCHoklch(54.19% 0.173 271.8)
XYZxyz(19.1385, 15.0066, 62.8483)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62D2 #D2BE4E
analogous
#4EA4D2 #4E62D2 #7C4ED2
triadic
#4E62D2 #D24E62 #62D24E
tetradic
#4E62D2 #D24EA4 #D2BE4E #4ED27C
square
#4E62D2 #D24EA4 #D2BE4E #4ED27C
split-complementary
#4E62D2 #D27C4E #A4D24E
monochromatic
#223084 #2E42B5 #4E62D2 #7F8DDE #B0B9EB

Accessibility & contrast

On white

5.25
#4E62D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4E62D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62D2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62D2#FFFFFF#000000##FFFFFF
##4E62D21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1672D6
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e62d2;
/* rgb */ color: rgb(78, 98, 210);
/* oklch */ color: oklch(54.2% 0.173 271.8);
Tailwind
colors: {
  custom: {
    50: '#8c8ee0',
    500: '#4e62d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e62d2;
$custom-light: #8c8ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62d2",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 230.909,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54186,
    "c": 0.17299,
    "h": 271.8
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#4E62D2
secondary
#D9D1A3
accent
#CB45E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E62D2

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

Preview Lab → · Contrast checker → · Palette generator →

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