#4E62D9#4E62D9

#4E62D9 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.182 H 271.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E62D9
RGBrgb(78, 98, 217)
HSLhsl(231, 65%, 58%)
HSVhsv(231, 64%, 85%)
CMYKcmyk(64.1%, 54.8%, 0%, 14.9%)
CIE-LABlab(46.13, 29.75, -63.45)
CIE-LCHlch(46.13, 70.08, 295.12°)
OKLaboklab(54.7% 0.0057 -0.1824)
OKLCHoklch(54.7% 0.182 271.8)
XYZxyz(20.0298, 15.3631, 67.5420)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62D9 #D9C54E
analogous
#4EA7D9 #4E62D9 #7F4ED9
triadic
#4E62D9 #D94E62 #62D94E
tetradic
#4E62D9 #D94EA7 #D9C54E #4ED97F
square
#4E62D9 #D94EA7 #D9C54E #4ED97F
split-complementary
#4E62D9 #D97F4E #A7D94E
monochromatic
#1F2F8E #293FC0 #4E62D9 #808FE4 #B3BBEF

Accessibility & contrast

On white

5.16
#4E62D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4E62D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62D9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62D9#FFFFFF#000000##FFFFFF
##4E62D91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#007E94
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e62d9;
/* rgb */ color: rgb(78, 98, 217);
/* oklch */ color: oklch(54.7% 0.182 271.8);
Tailwind
colors: {
  custom: {
    50: '#8e8ee6',
    500: '#4e62d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e62d9;
$custom-light: #8e8ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62d9",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 217
  },
  "hsl": {
    "h": 231.367,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.18245,
    "h": 271.8
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#4E62D9
secondary
#DDD5A6
accent
#D040E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E62D9

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

Preview Lab → · Contrast checker → · Palette generator →

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