#4F7CD5#4F7CD5

#4F7CD5 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.7% C 0.145 H 262.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4F7CD5
RGBrgb(79, 124, 213)
HSLhsl(220, 61%, 57%)
HSVhsv(220, 63%, 84%)
CMYKcmyk(62.9%, 41.8%, 0%, 16.5%)
CIE-LABlab(52.82, 12.39, -50.43)
CIE-LCHlch(52.82, 51.93, 283.81°)
OKLaboklab(59.73% -0.0186 -0.1437)
OKLCHoklch(59.73% 0.145 262.6)
XYZxyz(22.4381, 20.8796, 65.7856)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CD5 #D5A84F
analogous
#4FBFD5 #4F7CD5 #654FD5
triadic
#4F7CD5 #D54F7C #7CD54F
tetradic
#4F7CD5 #D54FBF #D5A84F #4FD565
square
#4F7CD5 #D54FBF #D5A84F #4FD565
split-complementary
#4F7CD5 #D5654F #BFD54F
monochromatic
#214489 #2C5CBA #4F7CD5 #80A1E1 #B2C6ED

Accessibility & contrast

On white

4.06
#4F7CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4F7CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CD5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CD5#FFFFFF#000000##000000
##4F7CD51.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5485D8
Deuteranopia (green-blind)
#4078D3
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7cd5;
/* rgb */ color: rgb(79, 124, 213);
/* oklch */ color: oklch(59.7% 0.145 262.6);
Tailwind
colors: {
  custom: {
    50: '#8ca1e2',
    500: '#4f7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cd5;
$custom-light: #8ca1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cd5",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 219.851,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.1449,
    "h": 262.6
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#4F7CD5
secondary
#DBC9A5
accent
#AE43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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