#4F7BE5#4F7BE5

#4F7BE5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.5% C 0.168 H 264.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4F7BE5
RGBrgb(79, 123, 229)
HSLhsl(222, 74%, 60%)
HSVhsv(222, 66%, 90%)
CMYKcmyk(65.5%, 46.3%, 0%, 10.2%)
CIE-LABlab(53.47, 18.51, -58.38)
CIE-LCHlch(53.47, 61.25, 287.60°)
OKLaboklab(60.53% -0.015 -0.1671)
OKLCHoklch(60.53% 0.168 264.9)
XYZxyz(24.4453, 21.4830, 76.9719)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BE5 #E5B94F
analogous
#4FC6E5 #4F7BE5 #6E4FE5
triadic
#4F7BE5 #E54F7B #7BE54F
tetradic
#4F7BE5 #E54FC6 #E5B94F #4FE56E
square
#4F7BE5 #E54FC6 #E5B94F #4FE56E
split-complementary
#4F7BE5 #E56E4F #C6E54F
monochromatic
#1840A2 #2056D7 #4F7BE5 #84A3ED #BACBF5

Accessibility & contrast

On white

3.96
#4F7BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4F7BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BE5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BE5#FFFFFF#000000##000000
##4F7BE51.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4587E9
Deuteranopia (green-blind)
#2779E3
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7be5;
/* rgb */ color: rgb(79, 123, 229);
/* oklch */ color: oklch(60.5% 0.168 264.9);
Tailwind
colors: {
  custom: {
    50: '#8fa0ee',
    500: '#4f7be5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7be5;
$custom-light: #8fa0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7be5",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 222.4,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60533,
    "c": 0.16775,
    "h": 264.9
  },
  "luminance": 0.21485
}

Semantic roles & 50–950 ramp

primary
#4F7BE5
secondary
#E5D4AB
accent
#9C0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F7BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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