#4F8EEA#4F8EEA

#4F8EEA is a light, vivid blue. Relative luminance 0.269; OKLCH L 64.8% C 0.153 H 257.9°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4F8EEA
RGBrgb(79, 142, 234)
HSLhsl(216, 79%, 61%)
HSVhsv(216, 66%, 92%)
CMYKcmyk(66.2%, 39.3%, 0%, 8.2%)
CIE-LABlab(58.92, 8.72, -52.46)
CIE-LCHlch(58.92, 53.18, 279.44°)
OKLaboklab(64.83% -0.032 -0.1494)
OKLCHoklch(64.83% 0.153 257.9)
XYZxyz(27.7434, 26.9460, 81.5650)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8EEA #EAAB4F
analogous
#4FDCEA #4F8EEA #5E4FEA
triadic
#4F8EEA #EA4F8E #8EEA4F
tetradic
#4F8EEA #EA4FDC #EAAB4F #4FEA5E
square
#4F8EEA #EA4FDC #EAAB4F #4FEA5E
split-complementary
#4F8EEA #EA5E4F #DCEA4F
monochromatic
#1451AA #1B6BE1 #4F8EEA #86B1F1 #BCD4F7

Accessibility & contrast

On white

3.29
#4F8EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#4F8EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8EEA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8EEA#FFFFFF#000000##000000
##4F8EEA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EE
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #4f8eea;
/* rgb */ color: rgb(79, 142, 234);
/* oklch */ color: oklch(64.8% 0.153 257.9);
Tailwind
colors: {
  custom: {
    50: '#8faef1',
    500: '#4f8eea',
    950: '#000000',
  },
}
SCSS
$custom: #4f8eea;
$custom-light: #8faef1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8eea",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 215.613,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64828,
    "c": 0.15281,
    "h": 257.9
  },
  "luminance": 0.26949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F8EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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