#4F7DE4#4F7DE4

#4F7DE4 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.9% C 0.164 H 264.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4F7DE4
RGBrgb(79, 125, 228)
HSLhsl(221, 73%, 60%)
HSVhsv(221, 65%, 89%)
CMYKcmyk(65.4%, 45.2%, 0%, 10.6%)
CIE-LABlab(53.95, 16.94, -57.06)
CIE-LCHlch(53.95, 59.52, 286.54°)
OKLaboklab(60.88% -0.017 -0.1631)
OKLCHoklch(60.88% 0.164 264.1)
XYZxyz(24.5568, 21.9286, 76.3222)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DE4 #E4B64F
analogous
#4FC7E4 #4F7DE4 #6C4FE4
triadic
#4F7DE4 #E44F7D #7DE44F
tetradic
#4F7DE4 #E44FC7 #E4B64F #4FE46C
square
#4F7DE4 #E44FC7 #E4B64F #4FE46C
split-complementary
#4F7DE4 #E46C4F #C7E44F
monochromatic
#1942A0 #2158D5 #4F7DE4 #84A4EC #B9CBF4

Accessibility & contrast

On white

3.90
#4F7DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4F7DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DE4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DE4#FFFFFF#000000##000000
##4F7DE41.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E8
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7de4;
/* rgb */ color: rgb(79, 125, 228);
/* oklch */ color: oklch(60.9% 0.164 264.1);
Tailwind
colors: {
  custom: {
    50: '#8fa2ed',
    500: '#4f7de4',
    950: '#000000',
  },
}
SCSS
$custom: #4f7de4;
$custom-light: #8fa2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7de4",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 228
  },
  "hsl": {
    "h": 221.477,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.16403,
    "h": 264.1
  },
  "luminance": 0.21931
}

Semantic roles & 50–950 ramp

primary
#4F7DE4
secondary
#E4D2AB
accent
#9910D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #4F7DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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