#4E62D6#4E62D6

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

Color values

HEX#4E62D6
RGBrgb(78, 98, 214)
HSLhsl(231, 62%, 57%)
HSVhsv(231, 64%, 84%)
CMYKcmyk(63.6%, 54.2%, 0%, 16.1%)
CIE-LABlab(45.92, 28.73, -62.08)
CIE-LCHlch(45.92, 68.41, 294.83°)
OKLaboklab(54.48% 0.0056 -0.1783)
OKLCHoklch(54.48% 0.178 271.8)
XYZxyz(19.6431, 15.2084, 65.5056)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62D6 #D6C24E
analogous
#4EA6D6 #4E62D6 #7E4ED6
triadic
#4E62D6 #D64E62 #62D64E
tetradic
#4E62D6 #D64EA6 #D6C24E #4ED67E
square
#4E62D6 #D64EA6 #D6C24E #4ED67E
split-complementary
#4E62D6 #D67E4E #A6D64E
monochromatic
#202F8A #2B41BB #4E62D6 #808EE2 #B1BAED

Accessibility & contrast

On white

5.20
#4E62D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4E62D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62D6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62D6#FFFFFF#000000##FFFFFF
##4E62D61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0873DA
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e62d6;
/* rgb */ color: rgb(78, 98, 214);
/* oklch */ color: oklch(54.5% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#8d8ee3',
    500: '#4e62d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e62d6;
$custom-light: #8d8ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62d6",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 214
  },
  "hsl": {
    "h": 231.176,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.17841,
    "h": 271.8
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#4E62D6
secondary
#DBD3A4
accent
#CD42E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E62D6

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

Preview Lab → · Contrast checker → · Palette generator →

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