#4E70AC#4E70AC

#4E70AC is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.7% C 0.102 H 261.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E70AC
RGBrgb(78, 112, 172)
HSLhsl(218, 38%, 49%)
HSVhsv(218, 55%, 67%)
CMYKcmyk(54.7%, 34.9%, 0%, 32.5%)
CIE-LABlab(47.22, 5.76, -35.76)
CIE-LCHlch(47.22, 36.22, 279.15°)
OKLaboklab(54.67% -0.0157 -0.1009)
OKLCHoklch(54.67% 0.102 261.2)
XYZxyz(16.3799, 16.1853, 41.2827)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70AC #AC8A4E
analogous
#4E9FAC #4E70AC #5B4EAC
triadic
#4E70AC #AC4E70 #70AC4E
tetradic
#4E70AC #AC4E9F #AC8A4E #4EAC5B
square
#4E70AC #AC4E9F #AC8A4E #4EAC5B
split-complementary
#4E70AC #AC5B4E #9FAC4E
monochromatic
#283958 #3B5582 #4E70AC #7691C1 #A0B3D4

Accessibility & contrast

On white

4.96
#4E70AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4E70AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70AC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70AC#FFFFFF#000000##FFFFFF
##4E70AC1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5875AE
Deuteranopia (green-blind)
#4D6CAB
Tritanopia (blue-blind)
#197D86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e70ac;
/* rgb */ color: rgb(78, 112, 172);
/* oklch */ color: oklch(54.7% 0.102 261.2);
Tailwind
colors: {
  custom: {
    50: '#8698c5',
    500: '#4e70ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e70ac;
$custom-light: #8698c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70ac",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 172
  },
  "hsl": {
    "h": 218.298,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54667,
    "c": 0.10215,
    "h": 261.2
  },
  "luminance": 0.16187
}

Semantic roles & 50–950 ramp

primary
#4E70AC
secondary
#C1B195
accent
#A45ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E70AC

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

Preview Lab → · Contrast checker → · Palette generator →

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