#4E70AB#4E70AB

#4E70AB is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.6% C 0.101 H 260.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4E70AB
RGBrgb(78, 112, 171)
HSLhsl(218, 37%, 49%)
HSVhsv(218, 54%, 67%)
CMYKcmyk(54.4%, 34.5%, 0%, 32.9%)
CIE-LABlab(47.17, 5.43, -35.25)
CIE-LCHlch(47.17, 35.67, 278.76°)
OKLaboklab(54.61% -0.0159 -0.0995)
OKLCHoklch(54.61% 0.101 260.9)
XYZxyz(16.2842, 16.1471, 40.7788)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70AB #AB894E
analogous
#4E9FAB #4E70AB #5B4EAB
triadic
#4E70AB #AB4E70 #70AB4E
tetradic
#4E70AB #AB4E9F #AB894E #4EAB5B
square
#4E70AB #AB4E9F #AB894E #4EAB5B
split-complementary
#4E70AB #AB5B4E #9FAB4E
monochromatic
#283957 #3B5481 #4E70AB #7691C0 #A0B3D4

Accessibility & contrast

On white

4.97
#4E70AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4E70AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70AB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70AB#FFFFFF#000000##FFFFFF
##4E70AB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5875AD
Deuteranopia (green-blind)
#4D6CAA
Tritanopia (blue-blind)
#1A7D85
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e70ab;
/* rgb */ color: rgb(78, 112, 171);
/* oklch */ color: oklch(54.6% 0.101 260.9);
Tailwind
colors: {
  custom: {
    50: '#8698c4',
    500: '#4e70ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e70ab;
$custom-light: #8698c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70ab",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 218.065,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54612,
    "c": 0.10074,
    "h": 260.9
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#4E70AB
secondary
#C1B094
accent
#A35ACD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #4E70AB

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

Preview Lab → · Contrast checker → · Palette generator →

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