#4E70C8#4E70C8

#4E70C8 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.142 H 266.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4E70C8
RGBrgb(78, 112, 200)
HSLhsl(223, 53%, 55%)
HSVhsv(223, 61%, 78%)
CMYKcmyk(61%, 44%, 0%, 21.6%)
CIE-LABlab(48.73, 15.16, -49.55)
CIE-LCHlch(48.73, 51.82, 287.02°)
OKLaboklab(56.33% -0.0096 -0.1413)
OKLCHoklch(56.33% 0.142 266.1)
XYZxyz(19.3578, 17.3765, 56.9663)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70C8 #C8A64E
analogous
#4EADC8 #4E70C8 #694EC8
triadic
#4E70C8 #C84E70 #70C84E
tetradic
#4E70C8 #C84EAD #C8A64E #4EC869
square
#4E70C8 #C84EAD #C8A64E #4EC869
split-complementary
#4E70C8 #C8694E #ADC84E
monochromatic
#253C77 #3353A5 #4E70C8 #7D96D7 #ABBBE5

Accessibility & contrast

On white

4.69
#4E70C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4E70C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70C8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70C8#FFFFFF#000000##FFFFFF
##4E70C81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477ACB
Deuteranopia (green-blind)
#356FC6
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e70c8;
/* rgb */ color: rgb(78, 112, 200);
/* oklch */ color: oklch(56.3% 0.142 266.1);
Tailwind
colors: {
  custom: {
    50: '#8a98d9',
    500: '#4e70c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e70c8;
$custom-light: #8a98d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70c8",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 223.279,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.14163,
    "h": 266.1
  },
  "luminance": 0.17378
}

Semantic roles & 50–950 ramp

primary
#4E70C8
secondary
#D3C49F
accent
#B44CDC
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E70C8

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

Preview Lab → · Contrast checker → · Palette generator →

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