#4F7AE5#4F7AE5

#4F7AE5 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.169 H 265.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4F7AE5
RGBrgb(79, 122, 229)
HSLhsl(223, 74%, 60%)
HSVhsv(223, 66%, 90%)
CMYKcmyk(65.5%, 46.7%, 0%, 10.2%)
CIE-LABlab(53.21, 19.13, -58.81)
CIE-LCHlch(53.21, 61.84, 288.02°)
OKLaboklab(60.33% -0.014 -0.1683)
OKLCHoklch(60.33% 0.169 265.2)
XYZxyz(24.3219, 21.2362, 76.9308)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AE5 #E5BA4F
analogous
#4FC5E5 #4F7AE5 #6F4FE5
triadic
#4F7AE5 #E54F7A #7AE54F
tetradic
#4F7AE5 #E54FC5 #E5BA4F #4FE56F
square
#4F7AE5 #E54FC5 #E5BA4F #4FE56F
split-complementary
#4F7AE5 #E56F4F #C5E54F
monochromatic
#183FA2 #2054D7 #4F7AE5 #84A2ED #BACBF5

Accessibility & contrast

On white

4.00
#4F7AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4F7AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AE5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AE5#FFFFFF#000000##000000
##4F7AE51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E9
Deuteranopia (green-blind)
#2479E3
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7ae5;
/* rgb */ color: rgb(79, 122, 229);
/* oklch */ color: oklch(60.3% 0.169 265.2);
Tailwind
colors: {
  custom: {
    50: '#8f9fee',
    500: '#4f7ae5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ae5;
$custom-light: #8f9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ae5",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 222.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.16894,
    "h": 265.2
  },
  "luminance": 0.21238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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