#4E62D7#4E62D7

#4E62D7 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.180 H 271.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E62D7
RGBrgb(78, 98, 215)
HSLhsl(231, 63%, 57%)
HSVhsv(231, 64%, 84%)
CMYKcmyk(63.7%, 54.4%, 0%, 15.7%)
CIE-LABlab(45.99, 29.07, -62.54)
CIE-LCHlch(45.99, 68.97, 294.93°)
OKLaboklab(54.55% 0.0056 -0.1797)
OKLCHoklch(54.55% 0.18 271.8)
XYZxyz(19.7712, 15.2596, 66.1803)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62D7 #D7C34E
analogous
#4EA6D7 #4E62D7 #7F4ED7
triadic
#4E62D7 #D74E62 #62D74E
tetradic
#4E62D7 #D74EA6 #D7C34E #4ED77F
square
#4E62D7 #D74EA6 #D7C34E #4ED77F
split-complementary
#4E62D7 #D77F4E #A6D74E
monochromatic
#1F2F8B #2B40BD #4E62D7 #808EE2 #B2BBEE

Accessibility & contrast

On white

5.18
#4E62D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4E62D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62D7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62D7#FFFFFF#000000##FFFFFF
##4E62D71.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0373DB
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e62d7;
/* rgb */ color: rgb(78, 98, 215);
/* oklch */ color: oklch(54.6% 0.180 271.8);
Tailwind
colors: {
  custom: {
    50: '#8d8ee4',
    500: '#4e62d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e62d7;
$custom-light: #8d8ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62d7",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 215
  },
  "hsl": {
    "h": 231.241,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54554,
    "c": 0.17976,
    "h": 271.8
  },
  "luminance": 0.15261
}

Semantic roles & 50–950 ramp

primary
#4E62D7
secondary
#DCD4A5
accent
#CE42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E62D7

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

Preview Lab → · Contrast checker → · Palette generator →

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