#4F7AE9#4F7AE9

#4F7AE9 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.6% C 0.174 H 265.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4F7AE9
RGBrgb(79, 122, 233)
HSLhsl(223, 78%, 61%)
HSVhsv(223, 66%, 91%)
CMYKcmyk(66.1%, 47.6%, 0%, 8.6%)
CIE-LABlab(53.45, 20.51, -60.66)
CIE-LCHlch(53.45, 64.03, 288.69°)
OKLaboklab(60.59% -0.0135 -0.1738)
OKLCHoklch(60.59% 0.174 265.6)
XYZxyz(24.8868, 21.4621, 79.9061)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AE9 #E9BE4F
analogous
#4FC7E9 #4F7AE9 #714FE9
triadic
#4F7AE9 #E94F7A #7AE94F
tetradic
#4F7AE9 #E94FC7 #E9BE4F #4FE971
square
#4F7AE9 #E94FC7 #E9BE4F #4FE971
split-complementary
#4F7AE9 #E9714F #C7E94F
monochromatic
#153EA9 #1C52DF #4F7AE9 #85A3F0 #BCCCF7

Accessibility & contrast

On white

3.97
#4F7AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4F7AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AE9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AE9#FFFFFF#000000##000000
##4F7AE91.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87ED
Deuteranopia (green-blind)
#1A79E7
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7ae9;
/* rgb */ color: rgb(79, 122, 233);
/* oklch */ color: oklch(60.6% 0.174 265.6);
Tailwind
colors: {
  custom: {
    50: '#909ff1',
    500: '#4f7ae9',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ae9;
$custom-light: #909ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ae9",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 233
  },
  "hsl": {
    "h": 223.247,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60594,
    "c": 0.1743,
    "h": 265.6
  },
  "luminance": 0.21465
}

Semantic roles & 50–950 ramp

primary
#4F7AE9
secondary
#E7D7AD
accent
#A00BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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