#4C81EB#4C81EB

#4C81EB is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.170 H 262.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4C81EB
RGBrgb(76, 129, 235)
HSLhsl(220, 80%, 61%)
HSVhsv(220, 68%, 92%)
CMYKcmyk(67.7%, 45.1%, 0%, 7.8%)
CIE-LABlab(55.31, 16.45, -58.79)
CIE-LCHlch(55.31, 61.05, 285.63°)
OKLaboklab(62.02% -0.022 -0.1682)
OKLCHoklch(62.02% 0.17 262.5)
XYZxyz(25.8208, 23.2326, 81.7047)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81EB #EBB64C
analogous
#4CD0EB #4C81EB #664CEB
triadic
#4C81EB #EB4C81 #81EB4C
tetradic
#4C81EB #EB4CD0 #EBB64C #4CEB66
square
#4C81EB #EB4CD0 #EBB64C #4CEB66
split-complementary
#4C81EB #EB664C #D0EB4C
monochromatic
#1345AA #195CE1 #4C81EB #83A8F1 #BACEF7

Accessibility & contrast

On white

3.72
#4C81EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#4C81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81EB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81EB#FFFFFF#000000##000000
##4C81EB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEF
Deuteranopia (green-blind)
#2D7EE9
Tritanopia (blue-blind)
#009AAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4c81eb;
/* rgb */ color: rgb(76, 129, 235);
/* oklch */ color: oklch(62.0% 0.170 262.5);
Tailwind
colors: {
  custom: {
    50: '#8fa5f2',
    500: '#4c81eb',
    950: '#000000',
  },
}
SCSS
$custom: #4c81eb;
$custom-light: #8fa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81eb",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 220,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62021,
    "c": 0.16969,
    "h": 262.5
  },
  "luminance": 0.23235
}

Semantic roles & 50–950 ramp

primary
#4C81EB
secondary
#E7D3AB
accent
#9609DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4C81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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