#4F81BF#4F81BF

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

Color values

HEX#4F81BF
RGBrgb(79, 129, 191)
HSLhsl(213, 47%, 53%)
HSVhsv(213, 59%, 75%)
CMYKcmyk(58.6%, 32.5%, 0%, 25.1%)
CIE-LABlab(53.08, 1.96, -37.50)
CIE-LCHlch(53.08, 37.55, 272.99°)
OKLaboklab(59.56% -0.0292 -0.1058)
OKLCHoklch(59.56% 0.11 254.6)
XYZxyz(20.4753, 21.1226, 52.2782)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F81BF #BF8D4F
analogous
#4FB9BF #4F81BF #554FBF
triadic
#4F81BF #BF4F81 #81BF4F
tetradic
#4F81BF #BF4FB9 #BF8D4F #4FBF55
square
#4F81BF #BF4FB9 #BF8D4F #4FBF55
split-complementary
#4F81BF #BF554F #B9BF4F
monochromatic
#27466C #386399 #4F81BF #7CA1CF #A9C1E0

Accessibility & contrast

On white

4.02
#4F81BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F81BF#FFFFFF#000000##000000
##4F81BF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f81bf;
/* rgb */ color: rgb(79, 129, 191);
/* oklch */ color: oklch(59.6% 0.110 254.6);
Tailwind
colors: {
  custom: {
    50: '#89a5d2',
    500: '#4f81bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f81bf;
$custom-light: #89a5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f81bf",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 213.214,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.10979,
    "h": 254.6
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#4F81BF
secondary
#CDB79D
accent
#9B51D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4F81BF

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

Preview Lab → · Contrast checker → · Palette generator →

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