#4F7DDD#4F7DDD

#4F7DDD is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.4% C 0.155 H 263.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4F7DDD
RGBrgb(79, 125, 221)
HSLhsl(221, 68%, 59%)
HSVhsv(221, 64%, 87%)
CMYKcmyk(64.3%, 43.4%, 0%, 13.3%)
CIE-LABlab(53.54, 14.53, -53.78)
CIE-LCHlch(53.54, 55.71, 285.12°)
OKLaboklab(60.43% -0.0182 -0.1535)
OKLCHoklch(60.43% 0.155 263.3)
XYZxyz(23.6046, 21.5477, 71.3078)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DDD #DDAF4F
analogous
#4FC4DD #4F7DDD #684FDD
triadic
#4F7DDD #DD4F7D #7DDD4F
tetradic
#4F7DDD #DD4FC4 #DDAF4F #4FDD68
square
#4F7DDD #DD4FC4 #DDAF4F #4FDD68
split-complementary
#4F7DDD #DD684F #C4DD4F
monochromatic
#1D4495 #275BC8 #4F7DDD #82A3E7 #B6C9F1

Accessibility & contrast

On white

3.95
#4F7DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4F7DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DDD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DDD#FFFFFF#000000##000000
##4F7DDD1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5087E1
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7ddd;
/* rgb */ color: rgb(79, 125, 221);
/* oklch */ color: oklch(60.4% 0.155 263.3);
Tailwind
colors: {
  custom: {
    50: '#8ea2e8',
    500: '#4f7ddd',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ddd;
$custom-light: #8ea2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ddd",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 221
  },
  "hsl": {
    "h": 220.563,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60434,
    "c": 0.15459,
    "h": 263.3
  },
  "luminance": 0.2155
}

Semantic roles & 50–950 ramp

primary
#4F7DDD
secondary
#E0CEA8
accent
#B23DEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4F7DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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