#4F7FDE#4F7FDE

#4F7FDE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.154 H 262.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4F7FDE
RGBrgb(79, 127, 222)
HSLhsl(220, 68%, 59%)
HSVhsv(220, 64%, 87%)
CMYKcmyk(64.4%, 42.8%, 0%, 12.9%)
CIE-LABlab(54.15, 13.65, -53.38)
CIE-LCHlch(54.15, 55.10, 284.34°)
OKLaboklab(60.92% -0.0199 -0.1523)
OKLCHoklch(60.92% 0.154 262.5)
XYZxyz(23.9940, 22.1127, 72.0968)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FDE #DEAE4F
analogous
#4FC7DE #4F7FDE #674FDE
triadic
#4F7FDE #DE4F7F #7FDE4F
tetradic
#4F7FDE #DE4FC7 #DEAE4F #4FDE67
square
#4F7FDE #DE4FC7 #DEAE4F #4FDE67
split-complementary
#4F7FDE #DE674F #C7DE4F
monochromatic
#1C4596 #265DCA #4F7FDE #83A4E8 #B6CAF1

Accessibility & contrast

On white

3.87
#4F7FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4F7FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FDE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FDE#FFFFFF#000000##000000
##4F7FDE1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E2
Deuteranopia (green-blind)
#3C7BDC
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7fde;
/* rgb */ color: rgb(79, 127, 222);
/* oklch */ color: oklch(60.9% 0.154 262.5);
Tailwind
colors: {
  custom: {
    50: '#8ea3e9',
    500: '#4f7fde',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fde;
$custom-light: #8ea3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fde",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 219.86,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60917,
    "c": 0.15362,
    "h": 262.5
  },
  "luminance": 0.22115
}

Semantic roles & 50–950 ramp

primary
#4F7FDE
secondary
#E0CEA8
accent
#B13DEB
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F7FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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