#4E62D5#4E62D5

#4E62D5 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.4% C 0.177 H 271.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E62D5
RGBrgb(78, 98, 213)
HSLhsl(231, 62%, 57%)
HSVhsv(231, 63%, 84%)
CMYKcmyk(63.4%, 54%, 0%, 16.5%)
CIE-LABlab(45.85, 28.38, -61.62)
CIE-LCHlch(45.85, 67.85, 294.73°)
OKLaboklab(54.41% 0.0055 -0.177)
OKLCHoklch(54.41% 0.177 271.8)
XYZxyz(19.5158, 15.1575, 64.8351)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62D5 #D5C14E
analogous
#4EA6D5 #4E62D5 #7E4ED5
triadic
#4E62D5 #D54E62 #62D54E
tetradic
#4E62D5 #D54EA6 #D5C14E #4ED57E
square
#4E62D5 #D54EA6 #D5C14E #4ED57E
split-complementary
#4E62D5 #D57E4E #A6D54E
monochromatic
#203088 #2C41BA #4E62D5 #7F8EE1 #B1BAEC

Accessibility & contrast

On white

5.21
#4E62D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4E62D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62D5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62D5#FFFFFF#000000##FFFFFF
##4E62D51.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C73D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e62d5;
/* rgb */ color: rgb(78, 98, 213);
/* oklch */ color: oklch(54.4% 0.177 271.8);
Tailwind
colors: {
  custom: {
    50: '#8d8ee3',
    500: '#4e62d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e62d5;
$custom-light: #8d8ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62d5",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 213
  },
  "hsl": {
    "h": 231.111,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54406,
    "c": 0.17706,
    "h": 271.8
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#4E62D5
secondary
#DBD3A4
accent
#CD43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4E62D5

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

Preview Lab → · Contrast checker → · Palette generator →

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