#4E70D2#4E70D2

#4E70D2 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.0% C 0.155 H 267.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4E70D2
RGBrgb(78, 112, 210)
HSLhsl(225, 59%, 56%)
HSVhsv(225, 63%, 82%)
CMYKcmyk(62.9%, 46.7%, 0%, 17.6%)
CIE-LABlab(49.33, 18.60, -54.31)
CIE-LCHlch(49.33, 57.41, 288.90°)
OKLaboklab(56.98% -0.0081 -0.1553)
OKLCHoklch(56.98% 0.156 267)
XYZxyz(20.5649, 17.8594, 63.3237)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70D2 #D2B04E
analogous
#4EB2D2 #4E70D2 #6E4ED2
triadic
#4E70D2 #D24E70 #70D24E
tetradic
#4E70D2 #D24EB2 #D2B04E #4ED26E
square
#4E70D2 #D24EB2 #D2B04E #4ED26E
split-complementary
#4E70D2 #D26E4E #B2D24E
monochromatic
#223B84 #2E51B5 #4E70D2 #7F97DE #B0BFEB

Accessibility & contrast

On white

4.59
#4E70D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4E70D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70D2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70D2#FFFFFF#000000##FFFFFF
##4E70D21.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD6
Deuteranopia (green-blind)
#2770D0
Tritanopia (blue-blind)
#008697
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e70d2;
/* rgb */ color: rgb(78, 112, 210);
/* oklch */ color: oklch(57.0% 0.155 267.0);
Tailwind
colors: {
  custom: {
    50: '#8c98e0',
    500: '#4e70d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e70d2;
$custom-light: #8c98e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70d2",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 224.545,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56977,
    "c": 0.1555,
    "h": 267
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#4E70D2
secondary
#D9CBA3
accent
#BA45E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E70D2

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

Preview Lab → · Contrast checker → · Palette generator →

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