#4F7AEE#4F7AEE

#4F7AEE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.9% C 0.181 H 265.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4F7AEE
RGBrgb(79, 122, 238)
HSLhsl(224, 82%, 62%)
HSVhsv(224, 67%, 93%)
CMYKcmyk(66.8%, 48.7%, 0%, 6.7%)
CIE-LABlab(53.76, 22.25, -62.95)
CIE-LCHlch(53.76, 66.76, 289.47°)
OKLaboklab(60.93% -0.0129 -0.1805)
OKLCHoklch(60.93% 0.181 265.9)
XYZxyz(25.6112, 21.7519, 83.7212)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AEE #EEC34F
analogous
#4FC9EE #4F7AEE #744FEE
triadic
#4F7AEE #EE4F7A #7AEE4F
tetradic
#4F7AEE #EE4FC9 #EEC34F #4FEE74
square
#4F7AEE #EE4FC9 #EEC34F #4FEE74
split-complementary
#4F7AEE #EE744F #C9EE4F
monochromatic
#113CB1 #1750E9 #4F7AEE #87A4F3 #BFCEF9

Accessibility & contrast

On white

3.92
#4F7AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4F7AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AEE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AEE#FFFFFF#000000##000000
##4F7AEE1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3988F2
Deuteranopia (green-blind)
#047AEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7aee;
/* rgb */ color: rgb(79, 122, 238);
/* oklch */ color: oklch(60.9% 0.181 265.9);
Tailwind
colors: {
  custom: {
    50: '#919ff4',
    500: '#4f7aee',
    950: '#000000',
  },
}
SCSS
$custom: #4f7aee;
$custom-light: #919ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7aee",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 223.774,
    "s": 82.383,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.18098,
    "h": 265.9
  },
  "luminance": 0.21754
}

Semantic roles & 50–950 ramp

primary
#4F7AEE
secondary
#EADAAF
accent
#A407DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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