#4F8AEB#4F8AEB

#4F8AEB is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.0% C 0.158 H 259.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4F8AEB
RGBrgb(79, 138, 235)
HSLhsl(217, 80%, 62%)
HSVhsv(217, 66%, 92%)
CMYKcmyk(66.4%, 41.3%, 0%, 7.8%)
CIE-LABlab(57.88, 11.46, -54.68)
CIE-LCHlch(57.88, 55.87, 281.84°)
OKLaboklab(64.04% -0.028 -0.156)
OKLCHoklch(64.04% 0.158 259.8)
XYZxyz(27.3030, 25.8347, 82.1289)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8AEB #EBB04F
analogous
#4FD8EB #4F8AEB #624FEB
triadic
#4F8AEB #EB4F8A #8AEB4F
tetradic
#4F8AEB #EB4FD8 #EBB04F #4FEB62
square
#4F8AEB #EB4FD8 #EBB04F #4FEB62
split-complementary
#4F8AEB #EB624F #D8EB4F
monochromatic
#144DAC #1A66E3 #4F8AEB #86AFF1 #BDD3F7

Accessibility & contrast

On white

3.41
#4F8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#4F8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8AEB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8AEB#FFFFFF#000000##000000
##4F8AEB1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4f8aeb;
/* rgb */ color: rgb(79, 138, 235);
/* oklch */ color: oklch(64.0% 0.158 259.8);
Tailwind
colors: {
  custom: {
    50: '#90abf2',
    500: '#4f8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #4f8aeb;
$custom-light: #90abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8aeb",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 217.308,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64036,
    "c": 0.15847,
    "h": 259.8
  },
  "luminance": 0.25837
}

Semantic roles & 50–950 ramp

primary
#4F8AEB
secondary
#E8D2AE
accent
#8C0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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