#4F7CDF#4F7CDF

#4F7CDF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.4% C 0.158 H 263.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4F7CDF
RGBrgb(79, 124, 223)
HSLhsl(221, 69%, 59%)
HSVhsv(221, 65%, 87%)
CMYKcmyk(64.6%, 44.4%, 0%, 12.5%)
CIE-LABlab(53.39, 15.83, -55.15)
CIE-LCHlch(53.39, 57.38, 286.01°)
OKLaboklab(60.35% -0.0169 -0.1576)
OKLCHoklch(60.35% 0.158 263.9)
XYZxyz(23.7467, 21.4030, 72.6775)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CDF #DFB24F
analogous
#4FC4DF #4F7CDF #6A4FDF
triadic
#4F7CDF #DF4F7C #7CDF4F
tetradic
#4F7CDF #DF4FC4 #DFB24F #4FDF6A
square
#4F7CDF #DF4FC4 #DFB24F #4FDF6A
split-complementary
#4F7CDF #DF6A4F #C4DF4F
monochromatic
#1C4298 #2559CC #4F7CDF #83A3E8 #B7C9F2

Accessibility & contrast

On white

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

On black

5.28
#4F7CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CDF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CDF#FFFFFF#000000##000000
##4F7CDF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C87E3
Deuteranopia (green-blind)
#3479DD
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7cdf;
/* rgb */ color: rgb(79, 124, 223);
/* oklch */ color: oklch(60.4% 0.158 263.9);
Tailwind
colors: {
  custom: {
    50: '#8ea1e9',
    500: '#4f7cdf',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cdf;
$custom-light: #8ea1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cdf",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 221.25,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60352,
    "c": 0.15847,
    "h": 263.9
  },
  "luminance": 0.21405
}

Semantic roles & 50–950 ramp

primary
#4F7CDF
secondary
#E1CFA9
accent
#B53CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F7CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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