#4F7BE4#4F7BE4

#4F7BE4 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.166 H 264.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4F7BE4
RGBrgb(79, 123, 228)
HSLhsl(222, 73%, 60%)
HSVhsv(222, 65%, 89%)
CMYKcmyk(65.4%, 46.1%, 0%, 10.6%)
CIE-LABlab(53.41, 18.17, -57.92)
CIE-LCHlch(53.41, 60.70, 287.42°)
OKLaboklab(60.47% -0.0151 -0.1657)
OKLCHoklch(60.47% 0.166 264.8)
XYZxyz(24.3061, 21.4273, 76.2387)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BE4 #E4B84F
analogous
#4FC5E4 #4F7BE4 #6E4FE4
triadic
#4F7BE4 #E44F7B #7BE44F
tetradic
#4F7BE4 #E44FC5 #E4B84F #4FE46E
square
#4F7BE4 #E44FC5 #E4B84F #4FE46E
split-complementary
#4F7BE4 #E46E4F #C5E44F
monochromatic
#1941A0 #2156D5 #4F7BE4 #84A3EC #B9CBF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7BE4#FFFFFF#000000##000000
##4F7BE41.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)
#4687E8
Deuteranopia (green-blind)
#2979E2
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7be4;
/* rgb */ color: rgb(79, 123, 228);
/* oklch */ color: oklch(60.5% 0.166 264.8);
Tailwind
colors: {
  custom: {
    50: '#8fa0ed',
    500: '#4f7be4',
    950: '#000000',
  },
}
SCSS
$custom: #4f7be4;
$custom-light: #8fa0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7be4",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 222.282,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.1664,
    "h": 264.8
  },
  "luminance": 0.2143
}

Semantic roles & 50–950 ramp

primary
#4F7BE4
secondary
#E4D3AB
accent
#9B10D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F7BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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