#4E70C2#4E70C2

#4E70C2 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.0% C 0.133 H 265.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E70C2
RGBrgb(78, 112, 194)
HSLhsl(222, 49%, 53%)
HSVhsv(222, 60%, 76%)
CMYKcmyk(59.8%, 42.3%, 0%, 23.9%)
CIE-LABlab(48.39, 13.12, -46.65)
CIE-LCHlch(48.39, 48.46, 285.71°)
OKLaboklab(55.96% -0.0107 -0.1328)
OKLCHoklch(55.96% 0.133 265.4)
XYZxyz(18.6703, 17.1015, 53.3455)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70C2 #C2A04E
analogous
#4EAAC2 #4E70C2 #664EC2
triadic
#4E70C2 #C24E70 #70C24E
tetradic
#4E70C2 #C24EAA #C2A04E #4EC266
square
#4E70C2 #C24EAA #C2A04E #4EC266
split-complementary
#4E70C2 #C2664E #AAC24E
monochromatic
#263C6F #36549D #4E70C2 #7C95D2 #A9BAE1

Accessibility & contrast

On white

4.75
#4E70C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4E70C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70C2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70C2#FFFFFF#000000##FFFFFF
##4E70C21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#3B6EC0
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e70c2;
/* rgb */ color: rgb(78, 112, 194);
/* oklch */ color: oklch(56.0% 0.133 265.4);
Tailwind
colors: {
  custom: {
    50: '#8998d5',
    500: '#4e70c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e70c2;
$custom-light: #8998d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70c2",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 222.414,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.13322,
    "h": 265.4
  },
  "luminance": 0.17103
}

Semantic roles & 50–950 ramp

primary
#4E70C2
secondary
#CFC09D
accent
#B050D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4E70C2

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

Preview Lab → · Contrast checker → · Palette generator →

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