#4F70E6#4F70E6

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

Color values

HEX#4F70E6
RGBrgb(79, 112, 230)
HSLhsl(227, 75%, 61%)
HSVhsv(227, 66%, 90%)
CMYKcmyk(65.7%, 51.3%, 0%, 9.8%)
CIE-LABlab(50.64, 25.66, -63.50)
CIE-LCHlch(50.64, 68.49, 292.00°)
OKLaboklab(58.4% -0.0049 -0.1823)
OKLCHoklch(58.4% 0.182 268.5)
XYZxyz(23.2967, 18.9616, 77.2798)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F70E6 #E6C54F
analogous
#4FBCE6 #4F70E6 #794FE6
triadic
#4F70E6 #E64F70 #70E64F
tetradic
#4F70E6 #E64FBC #E6C54F #4FE679
square
#4F70E6 #E64FBC #E6C54F #4FE679
split-complementary
#4F70E6 #E6794F #BCE64F
monochromatic
#1736A3 #1F48D9 #4F70E6 #859CEE #BAC7F5

Accessibility & contrast

On white

4.38
#4F70E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4F70E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F70E6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F70E6#FFFFFF#000000##000000
##4F70E61.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EA
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f70e6;
/* rgb */ color: rgb(79, 112, 230);
/* oklch */ color: oklch(58.4% 0.182 268.5);
Tailwind
colors: {
  custom: {
    50: '#9098ef',
    500: '#4f70e6',
    950: '#000000',
  },
}
SCSS
$custom: #4f70e6;
$custom-light: #9098ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f70e6",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 226.887,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58397,
    "c": 0.18237,
    "h": 268.5
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#4F70E6
secondary
#E5D9AC
accent
#AB0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4F70E6

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

Preview Lab → · Contrast checker → · Palette generator →

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