#4F7DE8#4F7DE8

#4F7DE8 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.1% C 0.169 H 264.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4F7DE8
RGBrgb(79, 125, 232)
HSLhsl(222, 77%, 61%)
HSVhsv(222, 66%, 91%)
CMYKcmyk(65.9%, 46.1%, 0%, 9%)
CIE-LABlab(54.19, 18.32, -58.91)
CIE-LCHlch(54.19, 61.70, 287.28°)
OKLaboklab(61.14% -0.0164 -0.1686)
OKLCHoklch(61.14% 0.169 264.4)
XYZxyz(25.1185, 22.1533, 79.2805)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DE8 #E8BA4F
analogous
#4FC9E8 #4F7DE8 #6D4FE8
triadic
#4F7DE8 #E84F7D #7DE84F
tetradic
#4F7DE8 #E84FC9 #E8BA4F #4FE86D
square
#4F7DE8 #E84FC9 #E8BA4F #4FE86D
split-complementary
#4F7DE8 #E86D4F #C9E84F
monochromatic
#1641A7 #1D57DD #4F7DE8 #85A5EF #BBCDF6

Accessibility & contrast

On white

3.87
#4F7DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4F7DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DE8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DE8#FFFFFF#000000##000000
##4F7DE81.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4789EC
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7de8;
/* rgb */ color: rgb(79, 125, 232);
/* oklch */ color: oklch(61.1% 0.169 264.4);
Tailwind
colors: {
  custom: {
    50: '#8fa2f0',
    500: '#4f7de8',
    950: '#000000',
  },
}
SCSS
$custom: #4f7de8;
$custom-light: #8fa2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7de8",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 232
  },
  "hsl": {
    "h": 221.961,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.1694,
    "h": 264.4
  },
  "luminance": 0.22156
}

Semantic roles & 50–950 ramp

primary
#4F7DE8
secondary
#E6D5AD
accent
#9C0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4F7DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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