#4F8CE4#4F8CE4

#4F8CE4 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.0% C 0.147 H 257.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4F8CE4
RGBrgb(79, 140, 228)
HSLhsl(215, 73%, 60%)
HSVhsv(215, 65%, 89%)
CMYKcmyk(65.4%, 38.6%, 0%, 10.6%)
CIE-LABlab(58.05, 7.86, -50.51)
CIE-LCHlch(58.05, 51.12, 278.85°)
OKLaboklab(64.05% -0.0314 -0.1437)
OKLCHoklch(64.05% 0.147 257.7)
XYZxyz(26.6011, 26.0172, 77.0037)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8CE4 #E4A74F
analogous
#4FD7E4 #4F8CE4 #5C4FE4
triadic
#4F8CE4 #E44F8C #8CE44F
tetradic
#4F8CE4 #E44FD7 #E4A74F #4FE45C
square
#4F8CE4 #E44FD7 #E4A74F #4FE45C
split-complementary
#4F8CE4 #E45C4F #D7E44F
monochromatic
#1950A0 #216BD5 #4F8CE4 #84AFEC #B9D1F4

Accessibility & contrast

On white

3.38
#4F8CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#4F8CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8CE4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8CE4#FFFFFF#000000##000000
##4F8CE41.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6593E8
Deuteranopia (green-blind)
#4F85E2
Tritanopia (blue-blind)
#00A0AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4f8ce4;
/* rgb */ color: rgb(79, 140, 228);
/* oklch */ color: oklch(64.0% 0.147 257.7);
Tailwind
colors: {
  custom: {
    50: '#8faded',
    500: '#4f8ce4',
    950: '#000000',
  },
}
SCSS
$custom: #4f8ce4;
$custom-light: #8faded;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8ce4",
  "rgb": {
    "r": 79,
    "g": 140,
    "b": 228
  },
  "hsl": {
    "h": 215.436,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64048,
    "c": 0.14712,
    "h": 257.7
  },
  "luminance": 0.2602
}

Semantic roles & 50–950 ramp

primary
#4F8CE4
secondary
#E4CDAB
accent
#8510D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #4F8CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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