#4F7BE8#4F7BE8

#4F7BE8 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.172 H 265.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F7BE8
RGBrgb(79, 123, 232)
HSLhsl(223, 77%, 61%)
HSVhsv(223, 66%, 91%)
CMYKcmyk(65.9%, 47%, 0%, 9%)
CIE-LABlab(53.66, 19.55, -59.77)
CIE-LCHlch(53.66, 62.89, 288.12°)
OKLaboklab(60.73% -0.0145 -0.1712)
OKLCHoklch(60.73% 0.172 265.1)
XYZxyz(24.8678, 21.6520, 79.1970)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BE8 #E8BC4F
analogous
#4FC7E8 #4F7BE8 #6F4FE8
triadic
#4F7BE8 #E84F7B #7BE84F
tetradic
#4F7BE8 #E84FC7 #E8BC4F #4FE86F
square
#4F7BE8 #E84FC7 #E8BC4F #4FE86F
split-complementary
#4F7BE8 #E86F4F #C7E84F
monochromatic
#163FA7 #1D54DD #4F7BE8 #85A4EF #BBCCF6

Accessibility & contrast

On white

3.94
#4F7BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4F7BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BE8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BE8#FFFFFF#000000##000000
##4F7BE81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4288EC
Deuteranopia (green-blind)
#217AE6
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7be8;
/* rgb */ color: rgb(79, 123, 232);
/* oklch */ color: oklch(60.7% 0.172 265.1);
Tailwind
colors: {
  custom: {
    50: '#90a0f0',
    500: '#4f7be8',
    950: '#000000',
  },
}
SCSS
$custom: #4f7be8;
$custom-light: #90a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7be8",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 222.745,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6073,
    "c": 0.17178,
    "h": 265.1
  },
  "luminance": 0.21654
}

Semantic roles & 50–950 ramp

primary
#4F7BE8
secondary
#E6D6AD
accent
#9E0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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