#4E70D4#4E70D4

#4E70D4 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.158 H 267.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4E70D4
RGBrgb(78, 112, 212)
HSLhsl(225, 61%, 57%)
HSVhsv(225, 63%, 83%)
CMYKcmyk(63.2%, 47.2%, 0%, 16.9%)
CIE-LABlab(49.45, 19.28, -55.25)
CIE-LCHlch(49.45, 58.52, 289.24°)
OKLaboklab(57.11% -0.0078 -0.1581)
OKLCHoklch(57.11% 0.158 267.2)
XYZxyz(20.8156, 17.9596, 64.6442)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70D4 #D4B24E
analogous
#4EB3D4 #4E70D4 #6F4ED4
triadic
#4E70D4 #D44E70 #70D44E
tetradic
#4E70D4 #D44EB3 #D4B24E #4ED46F
square
#4E70D4 #D44EB3 #D4B24E #4ED46F
split-complementary
#4E70D4 #D46F4E #B3D44E
monochromatic
#213B87 #2D50B8 #4E70D4 #7F98E0 #B0C0EC

Accessibility & contrast

On white

4.57
#4E70D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4E70D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E70D4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70D4#FFFFFF#000000##000000
##4E70D41.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD8
Deuteranopia (green-blind)
#2470D2
Tritanopia (blue-blind)
#008798
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e70d4;
/* rgb */ color: rgb(78, 112, 212);
/* oklch */ color: oklch(57.1% 0.158 267.2);
Tailwind
colors: {
  custom: {
    50: '#8c98e2',
    500: '#4e70d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e70d4;
$custom-light: #8c98e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70d4",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 212
  },
  "hsl": {
    "h": 224.776,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57109,
    "c": 0.15825,
    "h": 267.2
  },
  "luminance": 0.17962
}

Semantic roles & 50–950 ramp

primary
#4E70D4
secondary
#DACCA4
accent
#BB44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E70D4

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

Preview Lab → · Contrast checker → · Palette generator →

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