#4E70B2#4E70B2

#4E70B2 is a mid, moderate blue. Relative luminance 0.164; OKLCH L 55.0% C 0.111 H 262.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E70B2
RGBrgb(78, 112, 178)
HSLhsl(220, 39%, 50%)
HSVhsv(220, 56%, 70%)
CMYKcmyk(56.2%, 37.1%, 0%, 30.2%)
CIE-LABlab(47.52, 7.74, -38.77)
CIE-LCHlch(47.52, 39.54, 281.29°)
OKLaboklab(55% -0.0142 -0.1097)
OKLCHoklch(55% 0.111 262.6)
XYZxyz(16.9692, 16.4211, 44.3862)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70B2 #B2904E
analogous
#4EA2B2 #4E70B2 #5E4EB2
triadic
#4E70B2 #B24E70 #70B24E
tetradic
#4E70B2 #B24EA2 #B2904E #4EB25E
square
#4E70B2 #B24EA2 #B2904E #4EB25E
split-complementary
#4E70B2 #B25E4E #A2B24E
monochromatic
#293A5D #3B5588 #4E70B2 #7992C5 #A3B5D7

Accessibility & contrast

On white

4.90
#4E70B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4E70B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70B2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70B2#FFFFFF#000000##FFFFFF
##4E70B21.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5576B5
Deuteranopia (green-blind)
#496CB1
Tritanopia (blue-blind)
#0C7F88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e70b2;
/* rgb */ color: rgb(78, 112, 178);
/* oklch */ color: oklch(55.0% 0.111 262.6);
Tailwind
colors: {
  custom: {
    50: '#8798c9',
    500: '#4e70b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e70b2;
$custom-light: #8798c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70b2",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 219.6,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55004,
    "c": 0.11064,
    "h": 262.6
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#4E70B2
secondary
#C4B598
accent
#A759CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E70B2

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

Preview Lab → · Contrast checker → · Palette generator →

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