#4E62D1#4E62D1

#4E62D1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.172 H 271.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4E62D1
RGBrgb(78, 98, 209)
HSLhsl(231, 59%, 56%)
HSVhsv(231, 63%, 82%)
CMYKcmyk(62.7%, 53.1%, 0%, 18%)
CIE-LABlab(45.58, 27.02, -59.78)
CIE-LCHlch(45.58, 65.60, 294.32°)
OKLaboklab(54.11% 0.0053 -0.1715)
OKLCHoklch(54.11% 0.172 271.8)
XYZxyz(19.0143, 14.9569, 62.1942)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E62D1 #D1BD4E
analogous
#4EA4D1 #4E62D1 #7C4ED1
triadic
#4E62D1 #D14E62 #62D14E
tetradic
#4E62D1 #D14EA4 #D1BD4E #4ED17C
square
#4E62D1 #D14EA4 #D1BD4E #4ED17C
split-complementary
#4E62D1 #D17C4E #A4D14E
monochromatic
#223183 #2F43B3 #4E62D1 #7F8DDE #AFB8EA

Accessibility & contrast

On white

5.26
#4E62D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4E62D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E62D1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E62D1#FFFFFF#000000##FFFFFF
##4E62D11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1972D5
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e62d1;
/* rgb */ color: rgb(78, 98, 209);
/* oklch */ color: oklch(54.1% 0.172 271.8);
Tailwind
colors: {
  custom: {
    50: '#8c8ee0',
    500: '#4e62d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e62d1;
$custom-light: #8c8ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e62d1",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 209
  },
  "hsl": {
    "h": 230.84,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54113,
    "c": 0.17163,
    "h": 271.8
  },
  "luminance": 0.14959
}

Semantic roles & 50–950 ramp

primary
#4E62D1
secondary
#D8D0A2
accent
#CA46E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E62D1

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

Preview Lab → · Contrast checker → · Palette generator →

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