#4E70C1#4E70C1

#4E70C1 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.132 H 265.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E70C1
RGBrgb(78, 112, 193)
HSLhsl(222, 48%, 53%)
HSVhsv(222, 60%, 76%)
CMYKcmyk(59.6%, 42%, 0%, 24.3%)
CIE-LABlab(48.33, 12.78, -46.17)
CIE-LCHlch(48.33, 47.90, 285.47°)
OKLaboklab(55.89% -0.0109 -0.1314)
OKLCHoklch(55.89% 0.132 265.2)
XYZxyz(18.5584, 17.0567, 52.7560)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70C1 #C19F4E
analogous
#4EA9C1 #4E70C1 #654EC1
triadic
#4E70C1 #C14E70 #70C14E
tetradic
#4E70C1 #C14EA9 #C19F4E #4EC165
square
#4E70C1 #C14EA9 #C19F4E #4EC165
split-complementary
#4E70C1 #C1654E #A9C14E
monochromatic
#273C6E #36549B #4E70C1 #7B95D1 #A9B9E1

Accessibility & contrast

On white

4.76
#4E70C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4E70C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70C1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70C1#FFFFFF#000000##FFFFFF
##4E70C11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e70c1;
/* rgb */ color: rgb(78, 112, 193);
/* oklch */ color: oklch(55.9% 0.132 265.2);
Tailwind
colors: {
  custom: {
    50: '#8998d4',
    500: '#4e70c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e70c1;
$custom-light: #8998d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70c1",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 193
  },
  "hsl": {
    "h": 222.261,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55893,
    "c": 0.13182,
    "h": 265.2
  },
  "luminance": 0.17058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E70C1

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

Preview Lab → · Contrast checker → · Palette generator →

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