#4F70DF#4F70DF

#4F70DF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.9% C 0.173 H 268.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4F70DF
RGBrgb(79, 112, 223)
HSLhsl(226, 69%, 59%)
HSVhsv(226, 65%, 87%)
CMYKcmyk(64.6%, 49.8%, 0%, 12.5%)
CIE-LABlab(50.19, 23.25, -60.29)
CIE-LCHlch(50.19, 64.62, 291.08°)
OKLaboklab(57.91% -0.0055 -0.1728)
OKLCHoklch(57.91% 0.173 268.2)
XYZxyz(22.3333, 18.5763, 72.2064)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F70DF #DFBE4F
analogous
#4FB8DF #4F70DF #764FDF
triadic
#4F70DF #DF4F70 #70DF4F
tetradic
#4F70DF #DF4FB8 #DFBE4F #4FDF76
square
#4F70DF #DF4FB8 #DFBE4F #4FDF76
split-complementary
#4F70DF #DF764F #B8DF4F
monochromatic
#1C3898 #254BCC #4F70DF #839AE8 #B7C4F2

Accessibility & contrast

On white

4.45
#4F70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4F70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F70DF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F70DF#FFFFFF#000000##000000
##4F70DF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE3
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f70df;
/* rgb */ color: rgb(79, 112, 223);
/* oklch */ color: oklch(57.9% 0.173 268.2);
Tailwind
colors: {
  custom: {
    50: '#8e98ea',
    500: '#4f70df',
    950: '#000000',
  },
}
SCSS
$custom: #4f70df;
$custom-light: #8e98ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f70df",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 226.25,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57908,
    "c": 0.17294,
    "h": 268.2
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#4F70DF
secondary
#E1D4A9
accent
#C43CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4F70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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