#4A81CE#4A81CE

#4A81CE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.2% C 0.132 H 257.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4A81CE
RGBrgb(74, 129, 206)
HSLhsl(215, 57%, 55%)
HSVhsv(215, 64%, 81%)
CMYKcmyk(64.1%, 37.4%, 0%, 19.2%)
CIE-LABlab(53.61, 6.06, -45.22)
CIE-LCHlch(53.61, 45.62, 277.64°)
OKLaboklab(60.16% -0.0294 -0.1284)
OKLCHoklch(60.16% 0.132 257.1)
XYZxyz(21.8109, 21.6105, 61.4024)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A81CE #CE974A
analogous
#4AC3CE #4A81CE #554ACE
triadic
#4A81CE #CE4A81 #81CE4A
tetradic
#4A81CE #CE4AC3 #CE974A #4ACE55
square
#4A81CE #CE4AC3 #CE974A #4ACE55
split-complementary
#4A81CE #CE554A #C3CE4A
monochromatic
#22477C #2F63AC #4A81CE #7AA3DB #AAC4E8

Accessibility & contrast

On white

3.95
#4A81CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4A81CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A81CE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A81CE#FFFFFF#000000##000000
##4A81CE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D1
Deuteranopia (green-blind)
#4D7ACC
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a81ce;
/* rgb */ color: rgb(74, 129, 206);
/* oklch */ color: oklch(60.2% 0.132 257.1);
Tailwind
colors: {
  custom: {
    50: '#89a5dd',
    500: '#4a81ce',
    950: '#000000',
  },
}
SCSS
$custom: #4a81ce;
$custom-light: #89a5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a81ce",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 215,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60159,
    "c": 0.13176,
    "h": 257.1
  },
  "luminance": 0.21613
}

Semantic roles & 50–950 ramp

primary
#4A81CE
secondary
#D6BF9E
accent
#A147E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4A81CE

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

Preview Lab → · Contrast checker → · Palette generator →

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