#4F8DEA#4F8DEA

#4F8DEA is a light, vivid blue. Relative luminance 0.267; OKLCH L 64.6% C 0.154 H 258.4°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4F8DEA
RGBrgb(79, 141, 234)
HSLhsl(216, 79%, 61%)
HSVhsv(216, 66%, 92%)
CMYKcmyk(66.2%, 39.7%, 0%, 8.2%)
CIE-LABlab(58.65, 9.32, -52.90)
CIE-LCHlch(58.65, 53.71, 279.99°)
OKLaboklab(64.61% -0.031 -0.1507)
OKLCHoklch(64.61% 0.154 258.4)
XYZxyz(27.5953, 26.6498, 81.5156)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8DEA #EAAC4F
analogous
#4FDBEA #4F8DEA #5F4FEA
triadic
#4F8DEA #EA4F8D #8DEA4F
tetradic
#4F8DEA #EA4FDB #EAAC4F #4FEA5F
square
#4F8DEA #EA4FDB #EAAC4F #4FEA5F
split-complementary
#4F8DEA #EA5F4F #DBEA4F
monochromatic
#1450AA #1B6AE1 #4F8DEA #86B0F1 #BCD4F7

Accessibility & contrast

On white

3.32
#4F8DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#4F8DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8DEA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8DEA#FFFFFF#000000##000000
##4F8DEA1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#4B86E8
Tritanopia (blue-blind)
#00A2B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4f8dea;
/* rgb */ color: rgb(79, 141, 234);
/* oklch */ color: oklch(64.6% 0.154 258.4);
Tailwind
colors: {
  custom: {
    50: '#8fadf1',
    500: '#4f8dea',
    950: '#000000',
  },
}
SCSS
$custom: #4f8dea;
$custom-light: #8fadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8dea",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 234
  },
  "hsl": {
    "h": 216,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64614,
    "c": 0.15389,
    "h": 258.4
  },
  "luminance": 0.26653
}

Semantic roles & 50–950 ramp

primary
#4F8DEA
secondary
#E7D0AD
accent
#880BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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