#4A81E2#4A81E2

#4A81E2 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.4% C 0.158 H 260.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4A81E2
RGBrgb(74, 129, 226)
HSLhsl(218, 72%, 59%)
HSVhsv(218, 67%, 89%)
CMYKcmyk(67.3%, 42.9%, 0%, 11.4%)
CIE-LABlab(54.70, 13.00, -54.74)
CIE-LCHlch(54.70, 56.26, 283.36°)
OKLaboklab(61.36% -0.0252 -0.1564)
OKLCHoklch(61.36% 0.158 260.9)
XYZxyz(24.3969, 22.6449, 75.0219)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A81E2 #E2AB4A
analogous
#4ACDE2 #4A81E2 #5F4AE2
triadic
#4A81E2 #E24A81 #81E24A
tetradic
#4A81E2 #E24ACD #E2AB4A #4AE25F
square
#4A81E2 #E24ACD #E2AB4A #4AE25F
split-complementary
#4A81E2 #E25F4A #CDE24A
monochromatic
#194799 #2160CE #4A81E2 #7FA6EA #B3CAF3

Accessibility & contrast

On white

3.80
#4A81E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4A81E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A81E2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A81E2#FFFFFF#000000##000000
##4A81E21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#538AE6
Deuteranopia (green-blind)
#397CE0
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4a81e2;
/* rgb */ color: rgb(74, 129, 226);
/* oklch */ color: oklch(61.4% 0.158 260.9);
Tailwind
colors: {
  custom: {
    50: '#8ca5ec',
    500: '#4a81e2',
    950: '#000000',
  },
}
SCSS
$custom: #4a81e2;
$custom-light: #8ca5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a81e2",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 218.289,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61362,
    "c": 0.15839,
    "h": 260.9
  },
  "luminance": 0.22647
}

Semantic roles & 50–950 ramp

primary
#4A81E2
secondary
#E2CCA6
accent
#AD39EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A81E2

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

Preview Lab → · Contrast checker → · Palette generator →

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