#4F7ED5#4F7ED5

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

Color values

HEX#4F7ED5
RGBrgb(79, 126, 213)
HSLhsl(219, 61%, 57%)
HSVhsv(219, 63%, 84%)
CMYKcmyk(62.9%, 40.8%, 0%, 16.5%)
CIE-LABlab(53.37, 11.17, -49.55)
CIE-LCHlch(53.37, 50.79, 282.71°)
OKLaboklab(60.15% -0.0207 -0.1411)
OKLCHoklch(60.15% 0.143 261.7)
XYZxyz(22.6913, 21.3860, 65.8700)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7ED5 #D5A64F
analogous
#4FC1D5 #4F7ED5 #634FD5
triadic
#4F7ED5 #D54F7E #7ED54F
tetradic
#4F7ED5 #D54FC1 #D5A64F #4FD563
square
#4F7ED5 #D54FC1 #D5A64F #4FD563
split-complementary
#4F7ED5 #D5634F #C1D54F
monochromatic
#214589 #2C5EBA #4F7ED5 #80A2E1 #B2C6ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7ED5#FFFFFF#000000##000000
##4F7ED51.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)
#5786D8
Deuteranopia (green-blind)
#437AD3
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7ed5;
/* rgb */ color: rgb(79, 126, 213);
/* oklch */ color: oklch(60.2% 0.143 261.7);
Tailwind
colors: {
  custom: {
    50: '#8ca2e2',
    500: '#4f7ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ed5;
$custom-light: #8ca2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ed5",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 218.955,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.1426,
    "h": 261.7
  },
  "luminance": 0.21388
}

Semantic roles & 50–950 ramp

primary
#4F7ED5
secondary
#DBC8A5
accent
#AC43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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