#4E70A2#4E70A2

#4E70A2 is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.1% C 0.088 H 257.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E70A2
RGBrgb(78, 112, 162)
HSLhsl(216, 35%, 47%)
HSVhsv(216, 52%, 64%)
CMYKcmyk(51.9%, 30.9%, 0%, 36.5%)
CIE-LABlab(46.73, 2.51, -30.67)
CIE-LCHlch(46.73, 30.77, 274.69°)
OKLaboklab(54.13% -0.0185 -0.0861)
OKLCHoklch(54.13% 0.088 257.9)
XYZxyz(15.4554, 15.8156, 36.4137)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70A2 #A2804E
analogous
#4E9AA2 #4E70A2 #564EA2
triadic
#4E70A2 #A24E70 #70A24E
tetradic
#4E70A2 #A24E9A #A2804E #4EA256
square
#4E70A2 #A24E9A #A2804E #4EA256
split-complementary
#4E70A2 #A2564E #9AA24E
monochromatic
#26374F #3A5379 #4E70A2 #7290BB #9BB0CF

Accessibility & contrast

On white

5.04
#4E70A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4E70A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70A2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70A2#FFFFFF#000000##FFFFFF
##4E70A21.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#257B82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e70a2;
/* rgb */ color: rgb(78, 112, 162);
/* oklch */ color: oklch(54.1% 0.088 257.9);
Tailwind
colors: {
  custom: {
    50: '#8598bd',
    500: '#4e70a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e70a2;
$custom-light: #8598bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70a2",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 162
  },
  "hsl": {
    "h": 215.714,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5413,
    "c": 0.08811,
    "h": 257.9
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#4E70A2
secondary
#BCAA90
accent
#9E5DCB
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E70A2

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

Preview Lab → · Contrast checker → · Palette generator →

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