#4F70E5#4F70E5

#4F70E5 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.181 H 268.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4F70E5
RGBrgb(79, 112, 229)
HSLhsl(227, 74%, 60%)
HSVhsv(227, 66%, 90%)
CMYKcmyk(65.5%, 51.1%, 0%, 10.2%)
CIE-LABlab(50.58, 25.32, -63.05)
CIE-LCHlch(50.58, 67.94, 291.88°)
OKLaboklab(58.33% -0.005 -0.181)
OKLCHoklch(58.33% 0.181 268.4)
XYZxyz(23.1566, 18.9056, 76.5423)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F70E5 #E5C44F
analogous
#4FBBE5 #4F70E5 #794FE5
triadic
#4F70E5 #E54F70 #70E54F
tetradic
#4F70E5 #E54FBB #E5C44F #4FE579
square
#4F70E5 #E54FBB #E5C44F #4FE579
split-complementary
#4F70E5 #E5794F #BBE54F
monochromatic
#1836A2 #2048D7 #4F70E5 #849BED #BAC7F5

Accessibility & contrast

On white

4.39
#4F70E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4F70E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F70E5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F70E5#FFFFFF#000000##000000
##4F70E51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980E9
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f70e5;
/* rgb */ color: rgb(79, 112, 229);
/* oklch */ color: oklch(58.3% 0.181 268.4);
Tailwind
colors: {
  custom: {
    50: '#8f98ee',
    500: '#4f70e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f70e5;
$custom-light: #8f98ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f70e5",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 229
  },
  "hsl": {
    "h": 226.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58327,
    "c": 0.18103,
    "h": 268.4
  },
  "luminance": 0.18908
}

Semantic roles & 50–950 ramp

primary
#4F70E5
secondary
#E5D8AB
accent
#AB0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4F70E5

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

Preview Lab → · Contrast checker → · Palette generator →

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