#4B81E7#4B81E7

#4B81E7 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.7% C 0.165 H 261.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4B81E7
RGBrgb(75, 129, 231)
HSLhsl(219, 76%, 60%)
HSVhsv(219, 68%, 91%)
CMYKcmyk(67.5%, 44.2%, 0%, 9.4%)
CIE-LABlab(55.03, 14.90, -57.01)
CIE-LCHlch(55.03, 58.92, 284.65°)
OKLaboklab(61.72% -0.0235 -0.163)
OKLCHoklch(61.72% 0.165 261.8)
XYZxyz(25.1706, 22.9634, 78.6917)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B81E7 #E7B14B
analogous
#4BCFE7 #4B81E7 #634BE7
triadic
#4B81E7 #E74B81 #81E74B
tetradic
#4B81E7 #E74BCF #E7B14B #4BE763
square
#4B81E7 #E74BCF #E7B14B #4BE763
split-complementary
#4B81E7 #E7634B #CFE74B
monochromatic
#1646A2 #1D5ED8 #4B81E7 #81A7EE #B7CDF5

Accessibility & contrast

On white

3.75
#4B81E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#4B81E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B81E7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B81E7#FFFFFF#000000##000000
##4B81E71.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8BEB
Deuteranopia (green-blind)
#337DE5
Tritanopia (blue-blind)
#0099A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4b81e7;
/* rgb */ color: rgb(75, 129, 231);
/* oklch */ color: oklch(61.7% 0.165 261.8);
Tailwind
colors: {
  custom: {
    50: '#8da5ef',
    500: '#4b81e7',
    950: '#000000',
  },
}
SCSS
$custom: #4b81e7;
$custom-light: #8da5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4b81e7",
  "rgb": {
    "r": 75,
    "g": 129,
    "b": 231
  },
  "hsl": {
    "h": 219.231,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.61721,
    "c": 0.1647,
    "h": 261.8
  },
  "luminance": 0.22966
}

Semantic roles & 50–950 ramp

primary
#4B81E7
secondary
#E5D0A9
accent
#B135F3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4B81E7

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

Preview Lab → · Contrast checker → · Palette generator →

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