#4F8AE4#4F8AE4

#4F8AE4 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.6% C 0.149 H 258.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4F8AE4
RGBrgb(79, 138, 228)
HSLhsl(216, 73%, 60%)
HSVhsv(216, 65%, 89%)
CMYKcmyk(65.4%, 39.5%, 0%, 10.6%)
CIE-LABlab(57.50, 9.06, -51.39)
CIE-LCHlch(57.50, 52.18, 279.99°)
OKLaboklab(63.62% -0.0294 -0.1463)
OKLCHoklch(63.62% 0.149 258.6)
XYZxyz(26.3115, 25.4381, 76.9072)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8AE4 #E4A94F
analogous
#4FD4E4 #4F8AE4 #5F4FE4
triadic
#4F8AE4 #E44F8A #8AE44F
tetradic
#4F8AE4 #E44FD4 #E4A94F #4FE45F
square
#4F8AE4 #E44FD4 #E4A94F #4FE45F
split-complementary
#4F8AE4 #E45F4F #D4E44F
monochromatic
#194EA0 #2168D5 #4F8AE4 #84ADEC #B9D1F4

Accessibility & contrast

On white

3.45
#4F8AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#4F8AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8AE4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8AE4#FFFFFF#000000##000000
##4F8AE41.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6192E8
Deuteranopia (green-blind)
#4B84E2
Tritanopia (blue-blind)
#009FAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4f8ae4;
/* rgb */ color: rgb(79, 138, 228);
/* oklch */ color: oklch(63.6% 0.149 258.6);
Tailwind
colors: {
  custom: {
    50: '#8fabed',
    500: '#4f8ae4',
    950: '#000000',
  },
}
SCSS
$custom: #4f8ae4;
$custom-light: #8fabed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8ae4",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 228
  },
  "hsl": {
    "h": 216.242,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63618,
    "c": 0.14927,
    "h": 258.6
  },
  "luminance": 0.25441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F8AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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