#4E70AA#4E70AA

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

Color values

HEX#4E70AA
RGBrgb(78, 112, 170)
HSLhsl(218, 37%, 49%)
HSVhsv(218, 54%, 67%)
CMYKcmyk(54.1%, 34.1%, 0%, 33.3%)
CIE-LABlab(47.12, 5.10, -34.75)
CIE-LCHlch(47.12, 35.12, 278.36°)
OKLaboklab(54.56% -0.0162 -0.098)
OKLCHoklch(54.56% 0.099 260.6)
XYZxyz(16.1893, 16.1091, 40.2787)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70AA #AA884E
analogous
#4E9EAA #4E70AA #5A4EAA
triadic
#4E70AA #AA4E70 #70AA4E
tetradic
#4E70AA #AA4E9E #AA884E #4EAA5A
square
#4E70AA #AA4E9E #AA884E #4EAA5A
split-complementary
#4E70AA #AA5A4E #9EAA4E
monochromatic
#283956 #3B5480 #4E70AA #7591C0 #9FB2D3

Accessibility & contrast

On white

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

On black

4.22
#4E70AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E70AA#FFFFFF#000000##FFFFFF
##4E70AA1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5974AC
Deuteranopia (green-blind)
#4E6CA9
Tritanopia (blue-blind)
#1C7D85
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e70aa;
/* rgb */ color: rgb(78, 112, 170);
/* oklch */ color: oklch(54.6% 0.099 260.6);
Tailwind
colors: {
  custom: {
    50: '#8698c3',
    500: '#4e70aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e70aa;
$custom-light: #8698c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70aa",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 217.826,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54557,
    "c": 0.09932,
    "h": 260.6
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

primary
#4E70AA
secondary
#C0B094
accent
#A35BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #4E70AA

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

Preview Lab → · Contrast checker → · Palette generator →

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