#4F7FE5#4F7FE5

#4F7FE5 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.4% C 0.163 H 263.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4F7FE5
RGBrgb(79, 127, 229)
HSLhsl(221, 74%, 60%)
HSVhsv(221, 66%, 90%)
CMYKcmyk(65.5%, 44.5%, 0%, 10.2%)
CIE-LABlab(54.55, 16.06, -56.66)
CIE-LCHlch(54.55, 58.89, 285.83°)
OKLaboklab(61.36% -0.0187 -0.1619)
OKLCHoklch(61.36% 0.163 263.4)
XYZxyz(24.9517, 22.4957, 77.1407)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FE5 #E5B54F
analogous
#4FCAE5 #4F7FE5 #6A4FE5
triadic
#4F7FE5 #E54F7F #7FE54F
tetradic
#4F7FE5 #E54FCA #E5B54F #4FE56A
square
#4F7FE5 #E54FCA #E5B54F #4FE56A
split-complementary
#4F7FE5 #E56A4F #CAE54F
monochromatic
#1844A2 #205AD7 #4F7FE5 #84A6ED #BACDF5

Accessibility & contrast

On white

3.82
#4F7FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4F7FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FE5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FE5#FFFFFF#000000##000000
##4F7FE51.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#337CE3
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7fe5;
/* rgb */ color: rgb(79, 127, 229);
/* oklch */ color: oklch(61.4% 0.163 263.4);
Tailwind
colors: {
  custom: {
    50: '#8fa3ee',
    500: '#4f7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fe5;
$custom-light: #8fa3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fe5",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 220.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61357,
    "c": 0.16303,
    "h": 263.4
  },
  "luminance": 0.22498
}

Semantic roles & 50–950 ramp

primary
#4F7FE5
secondary
#E5D2AB
accent
#970FD6
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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