#4C81F7#4C81F7

#4C81F7 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.186 H 263.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4C81F7
RGBrgb(76, 129, 247)
HSLhsl(221, 91%, 63%)
HSVhsv(221, 69%, 97%)
CMYKcmyk(69.2%, 47.8%, 0%, 3.1%)
CIE-LABlab(56.04, 20.65, -64.29)
CIE-LCHlch(56.04, 67.52, 287.81°)
OKLaboklab(62.81% -0.0203 -0.1844)
OKLCHoklch(62.81% 0.186 263.7)
XYZxyz(27.6133, 23.9496, 91.1451)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81F7 #F7C24C
analogous
#4CD6F7 #4C81F7 #6C4CF7
triadic
#4C81F7 #F74C81 #81F74C
tetradic
#4C81F7 #F74CD6 #F7C24C #4CF76C
square
#4C81F7 #F74CD6 #F7C24C #4CF76C
split-complementary
#4C81F7 #F76C4C #D6F74C
monochromatic
#0941C0 #1158F4 #4C81F7 #87AAFA #C1D3FC

Accessibility & contrast

On white

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

On black

5.79
#4C81F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81F7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81F7#FFFFFF#000000##000000
##4C81F71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFB
Deuteranopia (green-blind)
#0B7FF5
Tritanopia (blue-blind)
#009DB0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4c81f7;
/* rgb */ color: rgb(76, 129, 247);
/* oklch */ color: oklch(62.8% 0.186 263.7);
Tailwind
colors: {
  custom: {
    50: '#91a5fa',
    500: '#4c81f7',
    950: '#000000',
  },
}
SCSS
$custom: #4c81f7;
$custom-light: #91a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81f7",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 221.404,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62811,
    "c": 0.18553,
    "h": 263.7
  },
  "luminance": 0.23952
}

Semantic roles & 50–950 ramp

primary
#4C81F7
secondary
#EEDBB1
accent
#9E00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4C81F7

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

Preview Lab → · Contrast checker → · Palette generator →

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