#4F8AF2#4F8AF2

#4F8AF2 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.5% C 0.168 H 260.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4F8AF2
RGBrgb(79, 138, 242)
HSLhsl(218, 86%, 63%)
HSVhsv(218, 67%, 95%)
CMYKcmyk(67.4%, 43%, 0%, 5.1%)
CIE-LABlab(58.27, 13.88, -57.93)
CIE-LCHlch(58.27, 59.57, 283.47°)
OKLaboklab(64.46% -0.0267 -0.1655)
OKLCHoklch(64.46% 0.168 260.8)
XYZxyz(28.3342, 26.2472, 87.5602)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8AF2 #F2B74F
analogous
#4FDCF2 #4F8AF2 #654FF2
triadic
#4F8AF2 #F24F8A #8AF24F
tetradic
#4F8AF2 #F24FDC #F2B74F #4FF265
square
#4F8AF2 #F24FDC #F2B74F #4FF265
split-complementary
#4F8AF2 #F2654F #DCF24F
monochromatic
#0E4CB9 #1664EE #4F8AF2 #88B0F6 #C1D6FA

Accessibility & contrast

On white

3.36
#4F8AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#4F8AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8AF2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8AF2#FFFFFF#000000##000000
##4F8AF21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#3C85F0
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4f8af2;
/* rgb */ color: rgb(79, 138, 242);
/* oklch */ color: oklch(64.5% 0.168 260.8);
Tailwind
colors: {
  custom: {
    50: '#91abf7',
    500: '#4f8af2',
    950: '#000000',
  },
}
SCSS
$custom: #4f8af2;
$custom-light: #91abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8af2",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 218.282,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64464,
    "c": 0.16768,
    "h": 260.8
  },
  "luminance": 0.2625
}

Semantic roles & 50–950 ramp

primary
#4F8AF2
secondary
#ECD6B1
accent
#9203E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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