#4F70F5#4F70F5

#4F70F5 is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 59.5% C 0.202 H 268.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4F70F5
RGBrgb(79, 112, 245)
HSLhsl(228, 89%, 64%)
HSVhsv(228, 68%, 96%)
CMYKcmyk(67.8%, 54.3%, 0%, 3.9%)
CIE-LABlab(51.66, 30.83, -70.25)
CIE-LCHlch(51.66, 76.72, 293.70°)
OKLaboklab(59.48% -0.0038 -0.2021)
OKLCHoklch(59.48% 0.202 268.9)
XYZxyz(25.4944, 19.8407, 88.8546)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F70F5 #F5D44F
analogous
#4FC3F5 #4F70F5 #814FF5
triadic
#4F70F5 #F54F70 #70F54F
tetradic
#4F70F5 #F54FC3 #F5D44F #4FF581
square
#4F70F5 #F54FC3 #F5D44F #4FF581
split-complementary
#4F70F5 #F5814F #C3F54F
monochromatic
#0B2FBF #1541F2 #4F70F5 #899FF8 #C3CEFC

Accessibility & contrast

On white

4.23
#4F70F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4F70F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F70F5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F70F5#FFFFFF#000000##000000
##4F70F51.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f70f5;
/* rgb */ color: rgb(79, 112, 245);
/* oklch */ color: oklch(59.5% 0.202 268.9);
Tailwind
colors: {
  custom: {
    50: '#9298f9',
    500: '#4f70f5',
    950: '#000000',
  },
}
SCSS
$custom: #4f70f5;
$custom-light: #9298f9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f70f5",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 228.072,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.20219,
    "h": 268.9
  },
  "luminance": 0.19843
}

Semantic roles & 50–950 ramp

primary
#4F70F5
secondary
#EDE2B2
accent
#B800E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F70F5

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

Preview Lab → · Contrast checker → · Palette generator →

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