#4E70B7#4E70B7

#4E70B7 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.3% C 0.118 H 263.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E70B7
RGBrgb(78, 112, 183)
HSLhsl(221, 42%, 51%)
HSVhsv(221, 57%, 72%)
CMYKcmyk(57.4%, 38.8%, 0%, 28.2%)
CIE-LABlab(47.78, 9.41, -41.26)
CIE-LCHlch(47.78, 42.32, 282.84°)
OKLaboklab(55.29% -0.013 -0.117)
OKLCHoklch(55.29% 0.118 263.7)
XYZxyz(17.4804, 16.6255, 47.0784)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70B7 #B7954E
analogous
#4EA5B7 #4E70B7 #604EB7
triadic
#4E70B7 #B74E70 #70B74E
tetradic
#4E70B7 #B74EA5 #B7954E #4EB760
square
#4E70B7 #B74EA5 #B7954E #4EB760
split-complementary
#4E70B7 #B7604E #A5B74E
monochromatic
#283B63 #3A558E #4E70B7 #7A93C9 #A5B6DA

Accessibility & contrast

On white

4.86
#4E70B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4E70B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70B7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70B7#FFFFFF#000000##FFFFFF
##4E70B71.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5277BA
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e70b7;
/* rgb */ color: rgb(78, 112, 183);
/* oklch */ color: oklch(55.3% 0.118 263.7);
Tailwind
colors: {
  custom: {
    50: '#8898cd',
    500: '#4e70b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e70b7;
$custom-light: #8898cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70b7",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 183
  },
  "hsl": {
    "h": 220.571,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55293,
    "c": 0.11771,
    "h": 263.7
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#4E70B7
secondary
#C8B999
accent
#AA56D2
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E70B7

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

Preview Lab → · Contrast checker → · Palette generator →

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