#4E70D7#4E70D7

#4E70D7 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.3% C 0.162 H 267.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4E70D7
RGBrgb(78, 112, 215)
HSLhsl(225, 63%, 57%)
HSVhsv(225, 64%, 84%)
CMYKcmyk(63.7%, 47.9%, 0%, 15.7%)
CIE-LABlab(49.63, 20.32, -56.66)
CIE-LCHlch(49.63, 60.19, 289.73°)
OKLaboklab(57.31% -0.0074 -0.1622)
OKLCHoklch(57.31% 0.162 267.4)
XYZxyz(21.1976, 18.1124, 66.6558)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70D7 #D7B54E
analogous
#4EB5D7 #4E70D7 #704ED7
triadic
#4E70D7 #D74E70 #70D74E
tetradic
#4E70D7 #D74EB5 #D7B54E #4ED770
square
#4E70D7 #D74EB5 #D7B54E #4ED770
split-complementary
#4E70D7 #D7704E #B5D74E
monochromatic
#1F3A8B #2B4FBD #4E70D7 #8098E2 #B2C1EE

Accessibility & contrast

On white

4.54
#4E70D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4E70D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E70D7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70D7#FFFFFF#000000##000000
##4E70D71.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDB
Deuteranopia (green-blind)
#1D70D5
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e70d7;
/* rgb */ color: rgb(78, 112, 215);
/* oklch */ color: oklch(57.3% 0.162 267.4);
Tailwind
colors: {
  custom: {
    50: '#8d98e4',
    500: '#4e70d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e70d7;
$custom-light: #8d98e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70d7",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 215
  },
  "hsl": {
    "h": 225.109,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.16236,
    "h": 267.4
  },
  "luminance": 0.18114
}

Semantic roles & 50–950 ramp

primary
#4E70D7
secondary
#DCCEA5
accent
#BD42E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E70D7

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

Preview Lab → · Contrast checker → · Palette generator →

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