#4B81E2#4B81E2

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

Color values

HEX#4B81E2
RGBrgb(75, 129, 226)
HSLhsl(219, 72%, 59%)
HSVhsv(219, 67%, 89%)
CMYKcmyk(66.8%, 42.9%, 0%, 11.4%)
CIE-LABlab(54.75, 13.16, -54.67)
CIE-LCHlch(54.75, 56.23, 283.53°)
OKLaboklab(61.41% -0.0244 -0.1562)
OKLCHoklch(61.41% 0.158 261.1)
XYZxyz(24.4745, 22.6849, 75.0256)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B81E2 #E2AC4B
analogous
#4BCDE2 #4B81E2 #614BE2
triadic
#4B81E2 #E24B81 #81E24B
tetradic
#4B81E2 #E24BCD #E2AC4B #4BE261
square
#4B81E2 #E24BCD #E2AC4B #4BE261
split-complementary
#4B81E2 #E2614B #CDE24B
monochromatic
#19479A #215FCF #4B81E2 #80A6EA #B4CBF3

Accessibility & contrast

On white

3.79
#4B81E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#4B81E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B81E2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B81E2#FFFFFF#000000##000000
##4B81E21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b81e2;
/* rgb */ color: rgb(75, 129, 226);
/* oklch */ color: oklch(61.4% 0.158 261.1);
Tailwind
colors: {
  custom: {
    50: '#8da5ec',
    500: '#4b81e2',
    950: '#000000',
  },
}
SCSS
$custom: #4b81e2;
$custom-light: #8da5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4b81e2",
  "rgb": {
    "r": 75,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 218.543,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.15805,
    "h": 261.1
  },
  "luminance": 0.22687
}

Semantic roles & 50–950 ramp

primary
#4B81E2
secondary
#E2CDA7
accent
#AE39EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4B81E2

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

Preview Lab → · Contrast checker → · Palette generator →

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