#4E70DB#4E70DB

#4E70DB is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.6% C 0.168 H 267.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4E70DB
RGBrgb(78, 112, 219)
HSLhsl(226, 66%, 58%)
HSVhsv(226, 64%, 86%)
CMYKcmyk(64.4%, 48.9%, 0%, 14.1%)
CIE-LABlab(49.88, 21.70, -58.53)
CIE-LCHlch(49.88, 62.42, 290.34°)
OKLaboklab(57.58% -0.0069 -0.1677)
OKLCHoklch(57.58% 0.168 267.6)
XYZxyz(21.7179, 18.3205, 69.3958)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70DB #DBB94E
analogous
#4EB6DB #4E70DB #724EDB
triadic
#4E70DB #DB4E70 #70DB4E
tetradic
#4E70DB #DB4EB6 #DBB94E #4EDB72
square
#4E70DB #DB4EB6 #DBB94E #4EDB72
split-complementary
#4E70DB #DB724E #B6DB4E
monochromatic
#1E3991 #284DC4 #4E70DB #8199E5 #B4C2F0

Accessibility & contrast

On white

4.50
#4E70DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4E70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E70DB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70DB#FFFFFF#000000##000000
##4E70DB1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDF
Deuteranopia (green-blind)
#1271D9
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e70db;
/* rgb */ color: rgb(78, 112, 219);
/* oklch */ color: oklch(57.6% 0.168 267.6);
Tailwind
colors: {
  custom: {
    50: '#8d98e7',
    500: '#4e70db',
    950: '#000000',
  },
}
SCSS
$custom: #4e70db;
$custom-light: #8d98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70db",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 225.532,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.16782,
    "h": 267.6
  },
  "luminance": 0.18323
}

Semantic roles & 50–950 ramp

primary
#4E70DB
secondary
#DED1A6
accent
#C03FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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