#4F8CE2#4F8CE2

#4F8CE2 is a light, vivid blue. Relative luminance 0.259; OKLCH L 63.9% C 0.144 H 257.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4F8CE2
RGBrgb(79, 140, 226)
HSLhsl(215, 72%, 60%)
HSVhsv(215, 65%, 89%)
CMYKcmyk(65%, 38.1%, 0%, 11.4%)
CIE-LABlab(57.95, 7.18, -49.56)
CIE-LCHlch(57.95, 50.08, 278.24°)
OKLaboklab(63.93% -0.0318 -0.1409)
OKLCHoklch(63.93% 0.145 257.3)
XYZxyz(26.3251, 25.9068, 75.5499)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8CE2 #E2A54F
analogous
#4FD5E2 #4F8CE2 #5C4FE2
triadic
#4F8CE2 #E24F8C #8CE24F
tetradic
#4F8CE2 #E24FD5 #E2A54F #4FE25C
square
#4F8CE2 #E24FD5 #E2A54F #4FE25C
split-complementary
#4F8CE2 #E25C4F #D5E24F
monochromatic
#1A509D #226BD1 #4F8CE2 #84AEEB #B8D1F3

Accessibility & contrast

On white

3.40
#4F8CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#4F8CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8CE2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8CE2#FFFFFF#000000##000000
##4F8CE21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E5
Deuteranopia (green-blind)
#5085E0
Tritanopia (blue-blind)
#00A0AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4f8ce2;
/* rgb */ color: rgb(79, 140, 226);
/* oklch */ color: oklch(63.9% 0.144 257.3);
Tailwind
colors: {
  custom: {
    50: '#8eadeb',
    500: '#4f8ce2',
    950: '#000000',
  },
}
SCSS
$custom: #4f8ce2;
$custom-light: #8eadeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8ce2",
  "rgb": {
    "r": 79,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 215.102,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63932,
    "c": 0.1445,
    "h": 257.3
  },
  "luminance": 0.25909
}

Semantic roles & 50–950 ramp

primary
#4F8CE2
secondary
#E3CBAA
accent
#A339EE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #4F8CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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