#4F7AED#4F7AED

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

Color values

HEX#4F7AED
RGBrgb(79, 122, 237)
HSLhsl(224, 81%, 62%)
HSVhsv(224, 67%, 93%)
CMYKcmyk(66.7%, 48.5%, 0%, 7.1%)
CIE-LABlab(53.70, 21.90, -62.49)
CIE-LCHlch(53.70, 66.22, 289.31°)
OKLaboklab(60.86% -0.013 -0.1792)
OKLCHoklch(60.86% 0.18 265.9)
XYZxyz(25.4647, 21.6933, 82.9496)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AED #EDC24F
analogous
#4FC9ED #4F7AED #734FED
triadic
#4F7AED #ED4F7A #7AED4F
tetradic
#4F7AED #ED4FC9 #EDC24F #4FED73
square
#4F7AED #ED4FC9 #EDC24F #4FED73
split-complementary
#4F7AED #ED734F #C9ED4F
monochromatic
#123DB0 #1850E7 #4F7AED #87A4F3 #BECEF8

Accessibility & contrast

On white

3.93
#4F7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4F7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AED
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AED#FFFFFF#000000##000000
##4F7AED1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#0A7AEB
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7aed;
/* rgb */ color: rgb(79, 122, 237);
/* oklch */ color: oklch(60.9% 0.180 265.9);
Tailwind
colors: {
  custom: {
    50: '#909ff3',
    500: '#4f7aed',
    950: '#000000',
  },
}
SCSS
$custom: #4f7aed;
$custom-light: #909ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7aed",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 223.671,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60863,
    "c": 0.17965,
    "h": 265.9
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#4F7AED
secondary
#E9D9AF
accent
#A408DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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