#4C81EF#4C81EF

#4C81EF is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.3% C 0.175 H 263.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4C81EF
RGBrgb(76, 129, 239)
HSLhsl(220, 84%, 62%)
HSVhsv(220, 68%, 94%)
CMYKcmyk(68.2%, 46%, 0%, 6.3%)
CIE-LABlab(55.55, 17.85, -60.64)
CIE-LCHlch(55.55, 63.21, 286.40°)
OKLaboklab(62.28% -0.0214 -0.1737)
OKLCHoklch(62.28% 0.175 263)
XYZxyz(26.4052, 23.4663, 84.7825)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81EF #EFBA4C
analogous
#4CD2EF #4C81EF #694CEF
triadic
#4C81EF #EF4C81 #81EF4C
tetradic
#4C81EF #EF4CD2 #EFBA4C #4CEF69
square
#4C81EF #EF4CD2 #EFBA4C #4CEF69
split-complementary
#4C81EF #EF694C #D2EF4C
monochromatic
#1044B1 #155AE9 #4C81EF #84A9F4 #BCD0F9

Accessibility & contrast

On white

3.69
#4C81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#4C81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81EF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81EF#FFFFFF#000000##000000
##4C81EF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#257EED
Tritanopia (blue-blind)
#009BAC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4c81ef;
/* rgb */ color: rgb(76, 129, 239);
/* oklch */ color: oklch(62.3% 0.175 263.0);
Tailwind
colors: {
  custom: {
    50: '#8fa5f5',
    500: '#4c81ef',
    950: '#000000',
  },
}
SCSS
$custom: #4c81ef;
$custom-light: #8fa5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81ef",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 220.491,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.17498,
    "h": 263
  },
  "luminance": 0.23469
}

Semantic roles & 50–950 ramp

primary
#4C81EF
secondary
#EAD6AD
accent
#9905E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4C81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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