#4E70D1#4E70D1

#4E70D1 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.154 H 266.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4E70D1
RGBrgb(78, 112, 209)
HSLhsl(224, 59%, 56%)
HSVhsv(224, 63%, 82%)
CMYKcmyk(62.7%, 46.4%, 0%, 18%)
CIE-LABlab(49.26, 18.25, -53.84)
CIE-LCHlch(49.26, 56.85, 288.73°)
OKLaboklab(56.91% -0.0082 -0.1539)
OKLCHoklch(56.91% 0.154 266.9)
XYZxyz(20.4407, 17.8097, 62.6696)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70D1 #D1AF4E
analogous
#4EB2D1 #4E70D1 #6E4ED1
triadic
#4E70D1 #D14E70 #70D14E
tetradic
#4E70D1 #D14EB2 #D1AF4E #4ED16E
square
#4E70D1 #D14EB2 #D1AF4E #4ED16E
split-complementary
#4E70D1 #D16E4E #B2D14E
monochromatic
#223B83 #2F51B3 #4E70D1 #7F97DE #AFBEEA

Accessibility & contrast

On white

4.60
#4E70D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4E70D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70D1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70D1#FFFFFF#000000##FFFFFF
##4E70D11.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407BD5
Deuteranopia (green-blind)
#2970CF
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e70d1;
/* rgb */ color: rgb(78, 112, 209);
/* oklch */ color: oklch(56.9% 0.154 266.9);
Tailwind
colors: {
  custom: {
    50: '#8c98e0',
    500: '#4e70d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e70d1;
$custom-light: #8c98e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70d1",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 209
  },
  "hsl": {
    "h": 224.427,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.15412,
    "h": 266.9
  },
  "luminance": 0.17811
}

Semantic roles & 50–950 ramp

primary
#4E70D1
secondary
#D8CAA2
accent
#B946E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E70D1

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

Preview Lab → · Contrast checker → · Palette generator →

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