#4B81E1#4B81E1

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

Color values

HEX#4B81E1
RGBrgb(75, 129, 225)
HSLhsl(218, 71%, 59%)
HSVhsv(218, 67%, 88%)
CMYKcmyk(66.7%, 42.7%, 0%, 11.8%)
CIE-LABlab(54.69, 12.81, -54.20)
CIE-LCHlch(54.69, 55.70, 283.30°)
OKLaboklab(61.34% -0.0246 -0.1548)
OKLCHoklch(61.34% 0.157 261)
XYZxyz(24.3377, 22.6302, 74.3050)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B81E1 #E1AB4B
analogous
#4BCCE1 #4B81E1 #604BE1
triadic
#4B81E1 #E14B81 #81E14B
tetradic
#4B81E1 #E14BCC #E1AB4B #4BE160
square
#4B81E1 #E14BCC #E1AB4B #4BE160
split-complementary
#4B81E1 #E1604B #CCE14B
monochromatic
#194798 #2260CD #4B81E1 #7FA6EA #B4CAF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B81E1#FFFFFF#000000##000000
##4B81E11.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)
#538AE5
Deuteranopia (green-blind)
#3B7CDF
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4b81e1;
/* rgb */ color: rgb(75, 129, 225);
/* oklch */ color: oklch(61.3% 0.157 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ca5eb',
    500: '#4b81e1',
    950: '#000000',
  },
}
SCSS
$custom: #4b81e1;
$custom-light: #8ca5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b81e1",
  "rgb": {
    "r": 75,
    "g": 129,
    "b": 225
  },
  "hsl": {
    "h": 218.4,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61343,
    "c": 0.15672,
    "h": 261
  },
  "luminance": 0.22633
}

Semantic roles & 50–950 ramp

primary
#4B81E1
secondary
#E1CCA6
accent
#AD3AEE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4B81E1

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

Preview Lab → · Contrast checker → · Palette generator →

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