#4F7EF5#4F7EF5

#4F7EF5 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.2% C 0.186 H 265.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4F7EF5
RGBrgb(79, 126, 245)
HSLhsl(223, 89%, 64%)
HSVhsv(223, 68%, 96%)
CMYKcmyk(67.8%, 48.6%, 0%, 3.9%)
CIE-LABlab(55.25, 22.22, -64.44)
CIE-LCHlch(55.25, 68.16, 289.03°)
OKLaboklab(62.21% -0.0155 -0.1849)
OKLCHoklch(62.21% 0.186 265.2)
XYZxyz(27.1610, 23.1738, 89.4101)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EF5 #F5C64F
analogous
#4FD1F5 #4F7EF5 #734FF5
triadic
#4F7EF5 #F54F7E #7EF54F
tetradic
#4F7EF5 #F54FD1 #F5C64F #4FF573
square
#4F7EF5 #F54FD1 #F5C64F #4FF573
split-complementary
#4F7EF5 #F5734F #D1F54F
monochromatic
#0B3EBF #1554F2 #4F7EF5 #89A8F8 #C3D3FC

Accessibility & contrast

On white

3.73
#4F7EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#4F7EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EF5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EF5#FFFFFF#000000##000000
##4F7EF51.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CF9
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f7ef5;
/* rgb */ color: rgb(79, 126, 245);
/* oklch */ color: oklch(62.2% 0.186 265.2);
Tailwind
colors: {
  custom: {
    50: '#92a2f9',
    500: '#4f7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ef5;
$custom-light: #92a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ef5",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 223.012,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62205,
    "c": 0.18551,
    "h": 265.2
  },
  "luminance": 0.23177
}

Semantic roles & 50–950 ramp

primary
#4F7EF5
secondary
#EDDDB2
accent
#A500E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4F7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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