#4E70DC#4E70DC

#4E70DC is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.169 H 267.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4E70DC
RGBrgb(78, 112, 220)
HSLhsl(226, 67%, 58%)
HSVhsv(226, 65%, 86%)
CMYKcmyk(64.5%, 49.1%, 0%, 13.7%)
CIE-LABlab(49.95, 22.05, -58.99)
CIE-LCHlch(49.95, 62.97, 290.49°)
OKLaboklab(57.65% -0.0068 -0.169)
OKLCHoklch(57.65% 0.169 267.7)
XYZxyz(21.8499, 18.3733, 70.0912)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70DC #DCBA4E
analogous
#4EB7DC #4E70DC #734EDC
triadic
#4E70DC #DC4E70 #70DC4E
tetradic
#4E70DC #DC4EB7 #DCBA4E #4EDC73
square
#4E70DC #DC4EB7 #DCBA4E #4EDC73
split-complementary
#4E70DC #DC734E #B7DC4E
monochromatic
#1D3993 #274DC6 #4E70DC #8199E6 #B4C3F0

Accessibility & contrast

On white

4.49
#4E70DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4E70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E70DC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70DC#FFFFFF#000000##000000
##4E70DC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE0
Deuteranopia (green-blind)
#0E71DA
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e70dc;
/* rgb */ color: rgb(78, 112, 220);
/* oklch */ color: oklch(57.6% 0.169 267.7);
Tailwind
colors: {
  custom: {
    50: '#8d98e7',
    500: '#4e70dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e70dc;
$custom-light: #8d98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70dc",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 225.634,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57649,
    "c": 0.16918,
    "h": 267.7
  },
  "luminance": 0.18375
}

Semantic roles & 50–950 ramp

primary
#4E70DC
secondary
#DFD2A7
accent
#C13EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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