#4F70EB#4F70EB

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

Color values

HEX#4F70EB
RGBrgb(79, 112, 235)
HSLhsl(227, 80%, 62%)
HSVhsv(227, 66%, 92%)
CMYKcmyk(66.4%, 52.3%, 0%, 7.8%)
CIE-LABlab(50.97, 27.39, -65.77)
CIE-LCHlch(50.97, 71.24, 292.61°)
OKLaboklab(58.75% -0.0045 -0.189)
OKLCHoklch(58.75% 0.189 268.6)
XYZxyz(24.0089, 19.2465, 81.0308)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F70EB #EBCA4F
analogous
#4FBEEB #4F70EB #7C4FEB
triadic
#4F70EB #EB4F70 #70EB4F
tetradic
#4F70EB #EB4FBE #EBCA4F #4FEB7C
square
#4F70EB #EB4FBE #EBCA4F #4FEB7C
split-complementary
#4F70EB #EB7C4F #BEEB4F
monochromatic
#1434AC #1A44E3 #4F70EB #869DF1 #BDC9F7

Accessibility & contrast

On white

4.33
#4F70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4F70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F70EB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F70EB#FFFFFF#000000##000000
##4F70EB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81EF
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f70eb;
/* rgb */ color: rgb(79, 112, 235);
/* oklch */ color: oklch(58.8% 0.189 268.6);
Tailwind
colors: {
  custom: {
    50: '#9198f2',
    500: '#4f70eb',
    950: '#000000',
  },
}
SCSS
$custom: #4f70eb;
$custom-light: #9198f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f70eb",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 227.308,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58754,
    "c": 0.18902,
    "h": 268.6
  },
  "luminance": 0.19249
}

Semantic roles & 50–950 ramp

primary
#4F70EB
secondary
#E8DCAE
accent
#AF0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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