#4E62C5#4E62C5

#4E62C5 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.155 H 271.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4E62C5
RGBrgb(78, 98, 197)
HSLhsl(230, 51%, 54%)
HSVhsv(230, 60%, 77%)
CMYKcmyk(60.4%, 50.3%, 0%, 22.7%)
CIE-LABlab(44.78, 22.92, -54.16)
CIE-LCHlch(44.78, 58.81, 292.94°)
OKLaboklab(53.26% 0.0043 -0.155)
OKLCHoklch(53.26% 0.155 271.6)
XYZxyz(17.5843, 14.3849, 54.6624)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62C5 #C5B14E
analogous
#4E9EC5 #4E62C5 #764EC5
triadic
#4E62C5 #C54E62 #62C54E
tetradic
#4E62C5 #C54E9E #C5B14E #4EC576
square
#4E62C5 #C54E9E #C5B14E #4EC576
split-complementary
#4E62C5 #C5764E #9EC54E
monochromatic
#263373 #3547A1 #4E62C5 #7C8BD4 #AAB4E3

Accessibility & contrast

On white

5.42
#4E62C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4E62C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62C5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62C5#FFFFFF#000000##FFFFFF
##4E62C51.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6FC9
Deuteranopia (green-blind)
#1165C3
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e62c5;
/* rgb */ color: rgb(78, 98, 197);
/* oklch */ color: oklch(53.3% 0.155 271.6);
Tailwind
colors: {
  custom: {
    50: '#8a8ed7',
    500: '#4e62c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e62c5;
$custom-light: #8a8ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62c5",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 197
  },
  "hsl": {
    "h": 229.916,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.15508,
    "h": 271.6
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#4E62C5
secondary
#D1C89E
accent
#C34EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #4E62C5

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

Preview Lab → · Contrast checker → · Palette generator →

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