#4E62D0#4E62D0

#4E62D0 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.170 H 271.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E62D0
RGBrgb(78, 98, 208)
HSLhsl(231, 58%, 56%)
HSVhsv(231, 63%, 82%)
CMYKcmyk(62.5%, 52.9%, 0%, 18.4%)
CIE-LABlab(45.51, 26.68, -59.32)
CIE-LCHlch(45.51, 65.04, 294.21°)
OKLaboklab(54.04% 0.0052 -0.1702)
OKLCHoklch(54.04% 0.17 271.8)
XYZxyz(18.8909, 14.9075, 61.5442)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62D0 #D0BC4E
analogous
#4EA3D0 #4E62D0 #7B4ED0
triadic
#4E62D0 #D04E62 #62D04E
tetradic
#4E62D0 #D04EA3 #D0BC4E #4ED07B
square
#4E62D0 #D04EA3 #D0BC4E #4ED07B
split-complementary
#4E62D0 #D07B4E #A3D04E
monochromatic
#223181 #2F43B2 #4E62D0 #7E8DDD #AFB8EA

Accessibility & contrast

On white

5.27
#4E62D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4E62D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62D0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62D0#FFFFFF#000000##FFFFFF
##4E62D01.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B72D4
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e62d0;
/* rgb */ color: rgb(78, 98, 208);
/* oklch */ color: oklch(54.0% 0.170 271.8);
Tailwind
colors: {
  custom: {
    50: '#8c8edf',
    500: '#4e62d0',
    950: '#000000',
  },
}
SCSS
$custom: #4e62d0;
$custom-light: #8c8edf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62d0",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 208
  },
  "hsl": {
    "h": 230.769,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.17027,
    "h": 271.8
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#4E62D0
secondary
#D8CFA2
accent
#C947E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E62D0

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

Preview Lab → · Contrast checker → · Palette generator →

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