#4F7CDE#4F7CDE

#4F7CDE is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.3% C 0.157 H 263.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F7CDE
RGBrgb(79, 124, 222)
HSLhsl(221, 68%, 59%)
HSVhsv(221, 64%, 87%)
CMYKcmyk(64.4%, 44.1%, 0%, 12.9%)
CIE-LABlab(53.33, 15.48, -54.68)
CIE-LCHlch(53.33, 56.83, 285.81°)
OKLaboklab(60.29% -0.017 -0.1562)
OKLCHoklch(60.29% 0.157 263.8)
XYZxyz(23.6123, 21.3493, 71.9695)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CDE #DEB14F
analogous
#4FC4DE #4F7CDE #6A4FDE
triadic
#4F7CDE #DE4F7C #7CDE4F
tetradic
#4F7CDE #DE4FC4 #DEB14F #4FDE6A
square
#4F7CDE #DE4FC4 #DEB14F #4FDE6A
split-complementary
#4F7CDE #DE6A4F #C4DE4F
monochromatic
#1C4396 #2659CA #4F7CDE #83A2E8 #B6C9F1

Accessibility & contrast

On white

3.98
#4F7CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4F7CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CDE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CDE#FFFFFF#000000##000000
##4F7CDE1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D86E2
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7cde;
/* rgb */ color: rgb(79, 124, 222);
/* oklch */ color: oklch(60.3% 0.157 263.8);
Tailwind
colors: {
  custom: {
    50: '#8ea1e9',
    500: '#4f7cde',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cde;
$custom-light: #8ea1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cde",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 222
  },
  "hsl": {
    "h": 221.119,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60288,
    "c": 0.15711,
    "h": 263.8
  },
  "luminance": 0.21351
}

Semantic roles & 50–950 ramp

primary
#4F7CDE
secondary
#E0CFA8
accent
#B43DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F7CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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