#4B81E4#4B81E4

#4B81E4 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.161 H 261.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4B81E4
RGBrgb(75, 129, 228)
HSLhsl(219, 74%, 59%)
HSVhsv(219, 67%, 89%)
CMYKcmyk(67.1%, 43.4%, 0%, 10.6%)
CIE-LABlab(54.86, 13.86, -55.61)
CIE-LCHlch(54.86, 57.31, 283.99°)
OKLaboklab(61.53% -0.024 -0.1589)
OKLCHoklch(61.53% 0.161 261.4)
XYZxyz(24.7505, 22.7953, 76.4793)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B81E4 #E4AE4B
analogous
#4BCDE4 #4B81E4 #624BE4
triadic
#4B81E4 #E44B81 #81E44B
tetradic
#4B81E4 #E44BCD #E4AE4B #4BE462
square
#4B81E4 #E44BCD #E4AE4B #4BE462
split-complementary
#4B81E4 #E4624B #CDE44B
monochromatic
#18479D #205FD2 #4B81E4 #80A6EC #B5CCF4

Accessibility & contrast

On white

3.78
#4B81E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#4B81E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B81E4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B81E4#FFFFFF#000000##000000
##4B81E41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE8
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4b81e4;
/* rgb */ color: rgb(75, 129, 228);
/* oklch */ color: oklch(61.5% 0.161 261.4);
Tailwind
colors: {
  custom: {
    50: '#8da5ed',
    500: '#4b81e4',
    950: '#000000',
  },
}
SCSS
$custom: #4b81e4;
$custom-light: #8da5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4b81e4",
  "rgb": {
    "r": 75,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 218.824,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61531,
    "c": 0.16071,
    "h": 261.4
  },
  "luminance": 0.22798
}

Semantic roles & 50–950 ramp

primary
#4B81E4
secondary
#E3CEA8
accent
#AF37F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4B81E4

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

Preview Lab → · Contrast checker → · Palette generator →

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