#4F70E9#4F70E9

#4F70E9 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.6% C 0.186 H 268.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4F70E9
RGBrgb(79, 112, 233)
HSLhsl(227, 78%, 61%)
HSVhsv(227, 66%, 91%)
CMYKcmyk(66.1%, 51.9%, 0%, 8.6%)
CIE-LABlab(50.84, 26.70, -64.86)
CIE-LCHlch(50.84, 70.14, 292.37°)
OKLaboklab(58.61% -0.0046 -0.1863)
OKLCHoklch(58.61% 0.186 268.6)
XYZxyz(23.7216, 19.1316, 79.5176)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F70E9 #E9C84F
analogous
#4FBDE9 #4F70E9 #7B4FE9
triadic
#4F70E9 #E94F70 #70E94F
tetradic
#4F70E9 #E94FBD #E9C84F #4FE97B
square
#4F70E9 #E94FBD #E9C84F #4FE97B
split-complementary
#4F70E9 #E97B4F #BDE94F
monochromatic
#1535A9 #1C46DF #4F70E9 #859CF0 #BCC8F7

Accessibility & contrast

On white

4.35
#4F70E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4F70E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F70E9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F70E9#FFFFFF#000000##000000
##4F70E91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2180ED
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f70e9;
/* rgb */ color: rgb(79, 112, 233);
/* oklch */ color: oklch(58.6% 0.186 268.6);
Tailwind
colors: {
  custom: {
    50: '#9098f1',
    500: '#4f70e9',
    950: '#000000',
  },
}
SCSS
$custom: #4f70e9;
$custom-light: #9098f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f70e9",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 233
  },
  "hsl": {
    "h": 227.143,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58611,
    "c": 0.18637,
    "h": 268.6
  },
  "luminance": 0.19134
}

Semantic roles & 50–950 ramp

primary
#4F70E9
secondary
#E7DAAD
accent
#AE0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F70E9

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

Preview Lab → · Contrast checker → · Palette generator →

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