#4E70C4#4E70C4

#4E70C4 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.1% C 0.136 H 265.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4E70C4
RGBrgb(78, 112, 196)
HSLhsl(223, 50%, 54%)
HSVhsv(223, 60%, 77%)
CMYKcmyk(60.2%, 42.9%, 0%, 23.1%)
CIE-LABlab(48.50, 13.80, -47.62)
CIE-LCHlch(48.50, 49.58, 286.16°)
OKLaboklab(56.08% -0.0104 -0.1356)
OKLCHoklch(56.08% 0.136 265.6)
XYZxyz(18.8965, 17.1920, 54.5364)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70C4 #C4A24E
analogous
#4EABC4 #4E70C4 #674EC4
triadic
#4E70C4 #C44E70 #70C44E
tetradic
#4E70C4 #C44EAB #C4A24E #4EC467
square
#4E70C4 #C44EAB #C4A24E #4EC467
split-complementary
#4E70C4 #C4674E #ABC44E
monochromatic
#263C72 #3554A0 #4E70C4 #7C95D3 #AABAE3

Accessibility & contrast

On white

4.73
#4E70C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4E70C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70C4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70C4#FFFFFF#000000##FFFFFF
##4E70C41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C7
Deuteranopia (green-blind)
#396EC2
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e70c4;
/* rgb */ color: rgb(78, 112, 196);
/* oklch */ color: oklch(56.1% 0.136 265.6);
Tailwind
colors: {
  custom: {
    50: '#8998d6',
    500: '#4e70c4',
    950: '#000000',
  },
}
SCSS
$custom: #4e70c4;
$custom-light: #8998d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70c4",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 196
  },
  "hsl": {
    "h": 222.712,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56079,
    "c": 0.13604,
    "h": 265.6
  },
  "luminance": 0.17194
}

Semantic roles & 50–950 ramp

primary
#4E70C4
secondary
#D0C29E
accent
#B14EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4E70C4

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

Preview Lab → · Contrast checker → · Palette generator →

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