#4F70E7#4F70E7

#4F70E7 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.184 H 268.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4F70E7
RGBrgb(79, 112, 231)
HSLhsl(227, 76%, 61%)
HSVhsv(227, 66%, 91%)
CMYKcmyk(65.8%, 51.5%, 0%, 9.4%)
CIE-LABlab(50.71, 26.01, -63.96)
CIE-LCHlch(50.71, 69.04, 292.13°)
OKLaboklab(58.47% -0.0048 -0.1836)
OKLCHoklch(58.47% 0.184 268.5)
XYZxyz(23.4375, 19.0179, 78.0215)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F70E7 #E7C64F
analogous
#4FBCE7 #4F70E7 #7A4FE7
triadic
#4F70E7 #E74F70 #70E74F
tetradic
#4F70E7 #E74FBC #E7C64F #4FE77A
square
#4F70E7 #E74FBC #E7C64F #4FE77A
split-complementary
#4F70E7 #E77A4F #BCE74F
monochromatic
#1735A5 #1E47DB #4F70E7 #859CEE #BBC8F6

Accessibility & contrast

On white

4.37
#4F70E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4F70E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F70E7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F70E7#FFFFFF#000000##000000
##4F70E71.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2580EB
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f70e7;
/* rgb */ color: rgb(79, 112, 231);
/* oklch */ color: oklch(58.5% 0.184 268.5);
Tailwind
colors: {
  custom: {
    50: '#9098ef',
    500: '#4f70e7',
    950: '#000000',
  },
}
SCSS
$custom: #4f70e7;
$custom-light: #9098ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f70e7",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 226.974,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.1837,
    "h": 268.5
  },
  "luminance": 0.1902
}

Semantic roles & 50–950 ramp

primary
#4F70E7
secondary
#E6D9AC
accent
#AC0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F70E7

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

Preview Lab → · Contrast checker → · Palette generator →

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