#4F7DE5#4F7DE5

#4F7DE5 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.9% C 0.165 H 264.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4F7DE5
RGBrgb(79, 125, 229)
HSLhsl(222, 74%, 60%)
HSVhsv(222, 66%, 90%)
CMYKcmyk(65.5%, 45.4%, 0%, 10.2%)
CIE-LABlab(54.01, 17.29, -57.52)
CIE-LCHlch(54.01, 60.06, 286.73°)
OKLaboklab(60.94% -0.0168 -0.1645)
OKLCHoklch(60.94% 0.165 264.2)
XYZxyz(24.6960, 21.9843, 77.0555)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DE5 #E5B74F
analogous
#4FC8E5 #4F7DE5 #6C4FE5
triadic
#4F7DE5 #E54F7D #7DE54F
tetradic
#4F7DE5 #E54FC8 #E5B74F #4FE56C
square
#4F7DE5 #E54FC8 #E5B74F #4FE56C
split-complementary
#4F7DE5 #E56C4F #C8E54F
monochromatic
#1842A2 #2058D7 #4F7DE5 #84A4ED #BACCF5

Accessibility & contrast

On white

3.89
#4F7DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4F7DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DE5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DE5#FFFFFF#000000##000000
##4F7DE51.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4988E9
Deuteranopia (green-blind)
#2D7BE3
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7de5;
/* rgb */ color: rgb(79, 125, 229);
/* oklch */ color: oklch(60.9% 0.165 264.2);
Tailwind
colors: {
  custom: {
    50: '#8fa2ee',
    500: '#4f7de5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7de5;
$custom-light: #8fa2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7de5",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 229
  },
  "hsl": {
    "h": 221.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.16538,
    "h": 264.2
  },
  "luminance": 0.21987
}

Semantic roles & 50–950 ramp

primary
#4F7DE5
secondary
#E5D3AB
accent
#990FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #4F7DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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