#4F8CEA#4F8CEA

#4F8CEA is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.4% C 0.155 H 258.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4F8CEA
RGBrgb(79, 140, 234)
HSLhsl(216, 79%, 61%)
HSVhsv(216, 66%, 92%)
CMYKcmyk(66.2%, 40.2%, 0%, 8.2%)
CIE-LABlab(58.37, 9.92, -53.34)
CIE-LCHlch(58.37, 54.25, 280.53°)
OKLaboklab(64.4% -0.0301 -0.152)
OKLCHoklch(64.4% 0.155 258.8)
XYZxyz(27.4485, 26.3562, 81.4667)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8CEA #EAAD4F
analogous
#4FDAEA #4F8CEA #604FEA
triadic
#4F8CEA #EA4F8C #8CEA4F
tetradic
#4F8CEA #EA4FDA #EAAD4F #4FEA60
square
#4F8CEA #EA4FDA #EAAD4F #4FEA60
split-complementary
#4F8CEA #EA604F #DAEA4F
monochromatic
#144FAA #1B69E1 #4F8CEA #86B0F1 #BCD3F7

Accessibility & contrast

On white

3.35
#4F8CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#4F8CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8CEA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8CEA#FFFFFF#000000##000000
##4F8CEA1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#4986E8
Tritanopia (blue-blind)
#00A2B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4f8cea;
/* rgb */ color: rgb(79, 140, 234);
/* oklch */ color: oklch(64.4% 0.155 258.8);
Tailwind
colors: {
  custom: {
    50: '#8fadf1',
    500: '#4f8cea',
    950: '#000000',
  },
}
SCSS
$custom: #4f8cea;
$custom-light: #8fadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8cea",
  "rgb": {
    "r": 79,
    "g": 140,
    "b": 234
  },
  "hsl": {
    "h": 216.387,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.644,
    "c": 0.15496,
    "h": 258.8
  },
  "luminance": 0.26359
}

Semantic roles & 50–950 ramp

primary
#4F8CEA
secondary
#E7D1AD
accent
#890BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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