#4C81ED#4C81ED

#4C81ED is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.2% C 0.172 H 262.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4C81ED
RGBrgb(76, 129, 237)
HSLhsl(220, 82%, 61%)
HSVhsv(220, 68%, 93%)
CMYKcmyk(67.9%, 45.6%, 0%, 7.1%)
CIE-LABlab(55.43, 17.15, -59.72)
CIE-LCHlch(55.43, 62.13, 286.02°)
OKLaboklab(62.15% -0.0217 -0.171)
OKLCHoklch(62.15% 0.172 262.8)
XYZxyz(26.1114, 23.3488, 83.2350)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81ED #EDB84C
analogous
#4CD2ED #4C81ED #684CED
triadic
#4C81ED #ED4C81 #81ED4C
tetradic
#4C81ED #ED4CD2 #EDB84C #4CED68
square
#4C81ED #ED4CD2 #EDB84C #4CED68
split-complementary
#4C81ED #ED684C #D2ED4C
monochromatic
#1145AD #175BE5 #4C81ED #84A8F3 #BBCFF8

Accessibility & contrast

On white

3.70
#4C81ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#4C81ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81ED
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81ED#FFFFFF#000000##000000
##4C81ED1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8DF1
Deuteranopia (green-blind)
#297EEB
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4c81ed;
/* rgb */ color: rgb(76, 129, 237);
/* oklch */ color: oklch(62.2% 0.172 262.8);
Tailwind
colors: {
  custom: {
    50: '#8fa5f3',
    500: '#4c81ed',
    950: '#000000',
  },
}
SCSS
$custom: #4c81ed;
$custom-light: #8fa5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81ed",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 220.248,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6215,
    "c": 0.17234,
    "h": 262.8
  },
  "luminance": 0.23351
}

Semantic roles & 50–950 ramp

primary
#4C81ED
secondary
#E8D5AC
accent
#9707DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4C81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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