#4F70EA#4F70EA

#4F70EA is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.7% C 0.188 H 268.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4F70EA
RGBrgb(79, 112, 234)
HSLhsl(227, 79%, 61%)
HSVhsv(227, 66%, 92%)
CMYKcmyk(66.2%, 52.1%, 0%, 8.2%)
CIE-LABlab(50.91, 27.04, -65.32)
CIE-LCHlch(50.91, 70.69, 292.49°)
OKLaboklab(58.68% -0.0045 -0.1876)
OKLCHoklch(58.68% 0.188 268.6)
XYZxyz(23.8648, 19.1889, 80.2721)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F70EA #EAC94F
analogous
#4FBEEA #4F70EA #7C4FEA
triadic
#4F70EA #EA4F70 #70EA4F
tetradic
#4F70EA #EA4FBE #EAC94F #4FEA7C
square
#4F70EA #EA4FBE #EAC94F #4FEA7C
split-complementary
#4F70EA #EA7C4F #BEEA4F
monochromatic
#1434AA #1B45E1 #4F70EA #869CF1 #BCC9F7

Accessibility & contrast

On white

4.34
#4F70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4F70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F70EA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F70EA#FFFFFF#000000##000000
##4F70EA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EE
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f70ea;
/* rgb */ color: rgb(79, 112, 234);
/* oklch */ color: oklch(58.7% 0.188 268.6);
Tailwind
colors: {
  custom: {
    50: '#9098f1',
    500: '#4f70ea',
    950: '#000000',
  },
}
SCSS
$custom: #4f70ea;
$custom-light: #9098f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f70ea",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 227.226,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58682,
    "c": 0.18769,
    "h": 268.6
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

primary
#4F70EA
secondary
#E7DBAD
accent
#AF0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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