#4E70B4#4E70B4

#4E70B4 is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.1% C 0.113 H 263.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4E70B4
RGBrgb(78, 112, 180)
HSLhsl(220, 40%, 51%)
HSVhsv(220, 57%, 71%)
CMYKcmyk(56.7%, 37.8%, 0%, 29.4%)
CIE-LABlab(47.63, 8.41, -39.77)
CIE-LCHlch(47.63, 40.65, 281.93°)
OKLaboklab(55.12% -0.0137 -0.1126)
OKLCHoklch(55.12% 0.113 263.1)
XYZxyz(17.1715, 16.5020, 45.4515)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70B4 #B4924E
analogous
#4EA3B4 #4E70B4 #5F4EB4
triadic
#4E70B4 #B44E70 #70B44E
tetradic
#4E70B4 #B44EA3 #B4924E #4EB45F
square
#4E70B4 #B44EA3 #B4924E #4EB45F
split-complementary
#4E70B4 #B45F4E #A3B44E
monochromatic
#283B5F #3B558A #4E70B4 #7993C6 #A4B5D8

Accessibility & contrast

On white

4.88
#4E70B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4E70B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70B4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70B4#FFFFFF#000000##FFFFFF
##4E70B41.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5476B7
Deuteranopia (green-blind)
#476DB3
Tritanopia (blue-blind)
#057F89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e70b4;
/* rgb */ color: rgb(78, 112, 180);
/* oklch */ color: oklch(55.1% 0.113 263.1);
Tailwind
colors: {
  custom: {
    50: '#8798cb',
    500: '#4e70b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e70b4;
$custom-light: #8798cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70b4",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 180
  },
  "hsl": {
    "h": 220,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55119,
    "c": 0.11347,
    "h": 263.1
  },
  "luminance": 0.16503
}

Semantic roles & 50–950 ramp

primary
#4E70B4
secondary
#C6B698
accent
#A857D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E70B4

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

Preview Lab → · Contrast checker → · Palette generator →

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