#4F81F4#4F81F4

#4F81F4 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.7% C 0.181 H 264.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4F81F4
RGBrgb(79, 129, 244)
HSLhsl(222, 88%, 63%)
HSVhsv(222, 68%, 96%)
CMYKcmyk(67.6%, 47.1%, 0%, 4.3%)
CIE-LABlab(55.98, 20.04, -62.71)
CIE-LCHlch(55.98, 65.84, 287.72°)
OKLaboklab(62.74% -0.0183 -0.1797)
OKLCHoklch(62.74% 0.181 264.2)
XYZxyz(27.3981, 23.8917, 88.7381)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F81F4 #F4C24F
analogous
#4FD3F4 #4F81F4 #6F4FF4
triadic
#4F81F4 #F44F81 #81F44F
tetradic
#4F81F4 #F44FD3 #F4C24F #4FF46F
square
#4F81F4 #F44FD3 #F4C24F #4FF46F
split-complementary
#4F81F4 #F46F4F #D3F44F
monochromatic
#0C41BD #1558F0 #4F81F4 #89AAF8 #C2D3FB

Accessibility & contrast

On white

3.63
#4F81F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#4F81F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F81F4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F81F4#FFFFFF#000000##000000
##4F81F41.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448EF8
Deuteranopia (green-blind)
#1C7FF2
Tritanopia (blue-blind)
#009CAF
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f81f4;
/* rgb */ color: rgb(79, 129, 244);
/* oklch */ color: oklch(62.7% 0.181 264.2);
Tailwind
colors: {
  custom: {
    50: '#91a5f8',
    500: '#4f81f4',
    950: '#000000',
  },
}
SCSS
$custom: #4f81f4;
$custom-light: #91a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f81f4",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 244
  },
  "hsl": {
    "h": 221.818,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.18066,
    "h": 264.2
  },
  "luminance": 0.23894
}

Semantic roles & 50–950 ramp

primary
#4F81F4
secondary
#EDDBB2
accent
#A001E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4F81F4

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

Preview Lab → · Contrast checker → · Palette generator →

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