#4E70BA#4E70BA

#4E70BA is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.5% C 0.122 H 264.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4E70BA
RGBrgb(78, 112, 186)
HSLhsl(221, 44%, 52%)
HSVhsv(221, 58%, 73%)
CMYKcmyk(58.1%, 39.8%, 0%, 27.1%)
CIE-LABlab(47.95, 10.41, -42.74)
CIE-LCHlch(47.95, 43.99, 283.69°)
OKLaboklab(55.47% -0.0123 -0.1213)
OKLCHoklch(55.47% 0.122 264.2)
XYZxyz(17.7960, 16.7518, 48.7405)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70BA #BA984E
analogous
#4EA6BA #4E70BA #624EBA
triadic
#4E70BA #BA4E70 #70BA4E
tetradic
#4E70BA #BA4EA6 #BA984E #4EBA62
square
#4E70BA #BA4EA6 #BA984E #4EBA62
split-complementary
#4E70BA #BA624E #A6BA4E
monochromatic
#283B66 #395592 #4E70BA #7A94CB #A6B7DC

Accessibility & contrast

On white

4.83
#4E70BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4E70BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E70BA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70BA#FFFFFF#000000##FFFFFF
##4E70BA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5177BD
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e70ba;
/* rgb */ color: rgb(78, 112, 186);
/* oklch */ color: oklch(55.5% 0.122 264.2);
Tailwind
colors: {
  custom: {
    50: '#8898cf',
    500: '#4e70ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e70ba;
$custom-light: #8898cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70ba",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 186
  },
  "hsl": {
    "h": 221.111,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.12196,
    "h": 264.2
  },
  "luminance": 0.16753
}

Semantic roles & 50–950 ramp

primary
#4E70BA
secondary
#CABB9A
accent
#AC54D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4E70BA

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

Preview Lab → · Contrast checker → · Palette generator →

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