#4A81EB#4A81EB

#4A81EB is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.9% C 0.170 H 262.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4A81EB
RGBrgb(74, 129, 235)
HSLhsl(220, 80%, 61%)
HSVhsv(220, 69%, 92%)
CMYKcmyk(68.5%, 45.1%, 0%, 7.8%)
CIE-LABlab(55.23, 16.15, -58.93)
CIE-LCHlch(55.23, 61.10, 285.33°)
OKLaboklab(61.93% -0.0236 -0.1687)
OKLCHoklch(61.93% 0.17 262)
XYZxyz(25.6644, 23.1519, 81.6974)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A81EB #EBB44A
analogous
#4AD2EB #4A81EB #634AEB
triadic
#4A81EB #EB4A81 #81EB4A
tetradic
#4A81EB #EB4AD2 #EBB44A #4AEB63
square
#4A81EB #EB4AD2 #EBB44A #4AEB63
split-complementary
#4A81EB #EB634A #D2EB4A
monochromatic
#1346A8 #195CDF #4A81EB #81A7F1 #B8CEF7

Accessibility & contrast

On white

3.73
#4A81EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4A81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A81EB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A81EB#FFFFFF#000000##000000
##4A81EB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a81eb;
/* rgb */ color: rgb(74, 129, 235);
/* oklch */ color: oklch(61.9% 0.170 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ea5f2',
    500: '#4a81eb',
    950: '#000000',
  },
}
SCSS
$custom: #4a81eb;
$custom-light: #8ea5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a81eb",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 219.503,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.17033,
    "h": 262
  },
  "luminance": 0.23155
}

Semantic roles & 50–950 ramp

primary
#4A81EB
secondary
#E7D2AA
accent
#9409DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4A81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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