#4F7BDD#4F7BDD

#4F7BDD is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.0% C 0.157 H 264.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4F7BDD
RGBrgb(79, 123, 221)
HSLhsl(221, 68%, 59%)
HSVhsv(221, 64%, 87%)
CMYKcmyk(64.3%, 44.3%, 0%, 13.3%)
CIE-LABlab(53.00, 15.75, -54.65)
CIE-LCHlch(53.00, 56.87, 286.08°)
OKLaboklab(60.02% -0.0162 -0.1561)
OKLCHoklch(60.02% 0.157 264.1)
XYZxyz(23.3540, 21.0465, 71.2242)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BDD #DDB14F
analogous
#4FC2DD #4F7BDD #6A4FDD
triadic
#4F7BDD #DD4F7B #7BDD4F
tetradic
#4F7BDD #DD4FC2 #DDB14F #4FDD6A
square
#4F7BDD #DD4FC2 #DDB14F #4FDD6A
split-complementary
#4F7BDD #DD6A4F #C2DD4F
monochromatic
#1D4295 #2759C8 #4F7BDD #82A1E7 #B6C8F1

Accessibility & contrast

On white

4.03
#4F7BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4F7BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BDD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BDD#FFFFFF#000000##000000
##4F7BDD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E1
Deuteranopia (green-blind)
#3478DB
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7bdd;
/* rgb */ color: rgb(79, 123, 221);
/* oklch */ color: oklch(60.0% 0.157 264.1);
Tailwind
colors: {
  custom: {
    50: '#8ea0e8',
    500: '#4f7bdd',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bdd;
$custom-light: #8ea0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bdd",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 221.408,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60017,
    "c": 0.15694,
    "h": 264.1
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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