#4F8FEA#4F8FEA

#4F8FEA is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.0% C 0.152 H 257.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4F8FEA
RGBrgb(79, 143, 234)
HSLhsl(215, 79%, 61%)
HSVhsv(215, 66%, 92%)
CMYKcmyk(66.2%, 38.9%, 0%, 8.2%)
CIE-LABlab(59.20, 8.13, -52.02)
CIE-LCHlch(59.20, 52.65, 278.88°)
OKLaboklab(65.04% -0.033 -0.1481)
OKLCHoklch(65.04% 0.152 257.5)
XYZxyz(27.8928, 27.2449, 81.6148)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8FEA #EAAA4F
analogous
#4FDCEA #4F8FEA #5D4FEA
triadic
#4F8FEA #EA4F8F #8FEA4F
tetradic
#4F8FEA #EA4FDC #EAAA4F #4FEA5D
square
#4F8FEA #EA4FDC #EAAA4F #4FEA5D
split-complementary
#4F8FEA #EA5D4F #DCEA4F
monochromatic
#1452AA #1B6DE1 #4F8FEA #86B2F1 #BCD5F7

Accessibility & contrast

On white

3.26
#4F8FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#4F8FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8FEA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8FEA#FFFFFF#000000##000000
##4F8FEA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#4F88E8
Tritanopia (blue-blind)
#00A4B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #4f8fea;
/* rgb */ color: rgb(79, 143, 234);
/* oklch */ color: oklch(65.0% 0.152 257.5);
Tailwind
colors: {
  custom: {
    50: '#8faff1',
    500: '#4f8fea',
    950: '#000000',
  },
}
SCSS
$custom: #4f8fea;
$custom-light: #8faff1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8fea",
  "rgb": {
    "r": 79,
    "g": 143,
    "b": 234
  },
  "hsl": {
    "h": 215.226,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65042,
    "c": 0.15174,
    "h": 257.5
  },
  "luminance": 0.27248
}

Semantic roles & 50–950 ramp

primary
#4F8FEA
secondary
#E7CFAD
accent
#850BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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