#4F7DF5#4F7DF5

#4F7DF5 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.0% C 0.187 H 265.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4F7DF5
RGBrgb(79, 125, 245)
HSLhsl(223, 89%, 64%)
HSVhsv(223, 68%, 96%)
CMYKcmyk(67.8%, 49%, 0%, 3.9%)
CIE-LABlab(54.99, 22.83, -64.86)
CIE-LCHlch(54.99, 68.76, 289.39°)
OKLaboklab(62.01% -0.0147 -0.1861)
OKLCHoklch(62.01% 0.187 265.5)
XYZxyz(27.0337, 22.9194, 89.3677)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DF5 #F5C74F
analogous
#4FD0F5 #4F7DF5 #744FF5
triadic
#4F7DF5 #F54F7D #7DF54F
tetradic
#4F7DF5 #F54FD0 #F5C74F #4FF574
square
#4F7DF5 #F54FD0 #F5C74F #4FF574
split-complementary
#4F7DF5 #F5744F #D0F54F
monochromatic
#0B3DBF #1552F2 #4F7DF5 #89A8F8 #C3D3FC

Accessibility & contrast

On white

3.76
#4F7DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#4F7DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DF5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DF5#FFFFFF#000000##000000
##4F7DF51.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CF9
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#0099AD
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f7df5;
/* rgb */ color: rgb(79, 125, 245);
/* oklch */ color: oklch(62.0% 0.187 265.5);
Tailwind
colors: {
  custom: {
    50: '#92a2f9',
    500: '#4f7df5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7df5;
$custom-light: #92a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7df5",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 223.373,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62006,
    "c": 0.18669,
    "h": 265.5
  },
  "luminance": 0.22922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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