#4F8AEA#4F8AEA

#4F8AEA is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.0% C 0.157 H 259.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4F8AEA
RGBrgb(79, 138, 234)
HSLhsl(217, 79%, 61%)
HSVhsv(217, 66%, 92%)
CMYKcmyk(66.2%, 41%, 0%, 8.2%)
CIE-LABlab(57.82, 11.12, -54.21)
CIE-LCHlch(57.82, 55.34, 281.59°)
OKLaboklab(63.98% -0.0282 -0.1546)
OKLCHoklch(63.98% 0.157 259.7)
XYZxyz(27.1589, 25.7770, 81.3701)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8AEA #EAAF4F
analogous
#4FD8EA #4F8AEA #624FEA
triadic
#4F8AEA #EA4F8A #8AEA4F
tetradic
#4F8AEA #EA4FD8 #EAAF4F #4FEA62
square
#4F8AEA #EA4FD8 #EAAF4F #4FEA62
split-complementary
#4F8AEA #EA624F #D8EA4F
monochromatic
#144DAA #1B66E1 #4F8AEA #86AEF1 #BCD3F7

Accessibility & contrast

On white

3.41
#4F8AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#4F8AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8AEA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8AEA#FFFFFF#000000##000000
##4F8AEA1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4f8aea;
/* rgb */ color: rgb(79, 138, 234);
/* oklch */ color: oklch(64.0% 0.157 259.7);
Tailwind
colors: {
  custom: {
    50: '#90abf1',
    500: '#4f8aea',
    950: '#000000',
  },
}
SCSS
$custom: #4f8aea;
$custom-light: #90abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8aea",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 217.161,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63975,
    "c": 0.15716,
    "h": 259.7
  },
  "luminance": 0.2578
}

Semantic roles & 50–950 ramp

primary
#4F8AEA
secondary
#E7D1AD
accent
#8C0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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