#4E81BF#4E81BF

#4E81BF is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.5% C 0.110 H 254.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E81BF
RGBrgb(78, 129, 191)
HSLhsl(213, 47%, 53%)
HSVhsv(213, 59%, 75%)
CMYKcmyk(59.2%, 32.5%, 0%, 25.1%)
CIE-LABlab(53.04, 1.76, -37.58)
CIE-LCHlch(53.04, 37.62, 272.68°)
OKLaboklab(59.51% -0.03 -0.1061)
OKLCHoklch(59.51% 0.11 254.2)
XYZxyz(20.3928, 21.0800, 52.2743)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81BF #BF8C4E
analogous
#4EBABF #4E81BF #534EBF
triadic
#4E81BF #BF4E81 #81BF4E
tetradic
#4E81BF #BF4EBA #BF8C4E #4EBF53
square
#4E81BF #BF4EBA #BF8C4E #4EBF53
split-complementary
#4E81BF #BF534E #BABF4E
monochromatic
#27466C #376399 #4E81BF #7BA1CF #A8C1E0

Accessibility & contrast

On white

4.03
#4E81BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4E81BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81BF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81BF#FFFFFF#000000##000000
##4E81BF1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6785C2
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#008F97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e81bf;
/* rgb */ color: rgb(78, 129, 191);
/* oklch */ color: oklch(59.5% 0.110 254.2);
Tailwind
colors: {
  custom: {
    50: '#89a5d2',
    500: '#4e81bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e81bf;
$custom-light: #89a5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81bf",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 212.92,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59514,
    "c": 0.11025,
    "h": 254.2
  },
  "luminance": 0.21082
}

Semantic roles & 50–950 ramp

primary
#4E81BF
secondary
#CDB79C
accent
#9A51D7
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4E81BF

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

Preview Lab → · Contrast checker → · Palette generator →

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