#4F7DDE#4F7DDE

#4F7DDE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.5% C 0.156 H 263.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4F7DDE
RGBrgb(79, 125, 222)
HSLhsl(221, 68%, 59%)
HSVhsv(221, 64%, 87%)
CMYKcmyk(64.4%, 43.7%, 0%, 12.9%)
CIE-LABlab(53.60, 14.87, -54.25)
CIE-LCHlch(53.60, 56.25, 285.33°)
OKLaboklab(60.5% -0.018 -0.1549)
OKLCHoklch(60.5% 0.156 263.4)
XYZxyz(23.7383, 21.6012, 72.0115)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DDE #DEB04F
analogous
#4FC5DE #4F7DDE #694FDE
triadic
#4F7DDE #DE4F7D #7DDE4F
tetradic
#4F7DDE #DE4FC5 #DEB04F #4FDE69
square
#4F7DDE #DE4FC5 #DEB04F #4FDE69
split-complementary
#4F7DDE #DE694F #C5DE4F
monochromatic
#1C4496 #265BCA #4F7DDE #83A3E8 #B6C9F1

Accessibility & contrast

On white

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

On black

5.32
#4F7DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DDE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DDE#FFFFFF#000000##000000
##4F7DDE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E2
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7dde;
/* rgb */ color: rgb(79, 125, 222);
/* oklch */ color: oklch(60.5% 0.156 263.4);
Tailwind
colors: {
  custom: {
    50: '#8ea2e9',
    500: '#4f7dde',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dde;
$custom-light: #8ea2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dde",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 220.699,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60497,
    "c": 0.15594,
    "h": 263.4
  },
  "luminance": 0.21603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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