#4F70F2#4F70F2

#4F70F2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.3% C 0.198 H 268.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4F70F2
RGBrgb(79, 112, 242)
HSLhsl(228, 86%, 63%)
HSVhsv(228, 67%, 95%)
CMYKcmyk(67.4%, 53.7%, 0%, 5.1%)
CIE-LABlab(51.45, 29.80, -68.91)
CIE-LCHlch(51.45, 75.08, 293.39°)
OKLaboklab(59.26% -0.004 -0.1982)
OKLCHoklch(59.26% 0.198 268.8)
XYZxyz(25.0401, 19.6590, 86.4621)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F70F2 #F2D14F
analogous
#4FC1F2 #4F70F2 #804FF2
triadic
#4F70F2 #F24F70 #70F24F
tetradic
#4F70F2 #F24FC1 #F2D14F #4FF280
square
#4F70F2 #F24FC1 #F2D14F #4FF280
split-complementary
#4F70F2 #F2804F #C1F24F
monochromatic
#0E30B9 #1642EE #4F70F2 #889EF6 #C1CDFA

Accessibility & contrast

On white

4.26
#4F70F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4F70F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F70F2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F70F2#FFFFFF#000000##000000
##4F70F21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0282F7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f70f2;
/* rgb */ color: rgb(79, 112, 242);
/* oklch */ color: oklch(59.3% 0.198 268.8);
Tailwind
colors: {
  custom: {
    50: '#9298f7',
    500: '#4f70f2',
    950: '#000000',
  },
}
SCSS
$custom: #4f70f2;
$custom-light: #9298f7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f70f2",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 227.853,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.19826,
    "h": 268.8
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#4F70F2
secondary
#ECE0B1
accent
#B503E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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