#4F81BB#4F81BB

#4F81BB is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 59.4% C 0.105 H 253.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4F81BB
RGBrgb(79, 129, 187)
HSLhsl(212, 44%, 52%)
HSVhsv(212, 58%, 73%)
CMYKcmyk(57.8%, 31%, 0%, 26.7%)
CIE-LABlab(52.89, 0.64, -35.51)
CIE-LCHlch(52.89, 35.52, 271.04°)
OKLaboklab(59.35% -0.0303 -0.1001)
OKLCHoklch(59.35% 0.105 253.2)
XYZxyz(20.0412, 20.9489, 49.9915)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F81BB #BB894F
analogous
#4FB7BB #4F81BB #534FBB
triadic
#4F81BB #BB4F81 #81BB4F
tetradic
#4F81BB #BB4FB7 #BB894F #4FBB53
square
#4F81BB #BB4FB7 #BB894F #4FBB53
split-complementary
#4F81BB #BB534F #B7BB4F
monochromatic
#284568 #396394 #4F81BB #7BA1CC #A7C0DD

Accessibility & contrast

On white

4.05
#4F81BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4F81BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F81BB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F81BB#FFFFFF#000000##000000
##4F81BB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#5B7ABA
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f81bb;
/* rgb */ color: rgb(79, 129, 187);
/* oklch */ color: oklch(59.4% 0.105 253.2);
Tailwind
colors: {
  custom: {
    50: '#89a5cf',
    500: '#4f81bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f81bb;
$custom-light: #89a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f81bb",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 212.222,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.10455,
    "h": 253.2
  },
  "luminance": 0.20951
}

Semantic roles & 50–950 ramp

primary
#4F81BB
secondary
#CAB59B
accent
#9954D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4F81BB

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

Preview Lab → · Contrast checker → · Palette generator →

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