#4F81BD#4F81BD

#4F81BD is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 59.5% C 0.107 H 253.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4F81BD
RGBrgb(79, 129, 189)
HSLhsl(213, 45%, 53%)
HSVhsv(213, 58%, 74%)
CMYKcmyk(58.2%, 31.7%, 0%, 25.9%)
CIE-LABlab(52.99, 1.30, -36.51)
CIE-LCHlch(52.99, 36.53, 272.04°)
OKLaboklab(59.46% -0.0297 -0.103)
OKLCHoklch(59.46% 0.107 253.9)
XYZxyz(20.2567, 21.0351, 51.1269)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F81BD #BD8B4F
analogous
#4FB8BD #4F81BD #544FBD
triadic
#4F81BD #BD4F81 #81BD4F
tetradic
#4F81BD #BD4FB8 #BD8B4F #4FBD54
square
#4F81BD #BD4FB8 #BD8B4F #4FBD54
split-complementary
#4F81BD #BD544F #B8BD4F
monochromatic
#28466A #386396 #4F81BD #7CA1CE #A8C1DE

Accessibility & contrast

On white

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

On black

5.21
#4F81BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F81BD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F81BD#FFFFFF#000000##000000
##4F81BD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884C0
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f81bd;
/* rgb */ color: rgb(79, 129, 189);
/* oklch */ color: oklch(59.5% 0.107 253.9);
Tailwind
colors: {
  custom: {
    50: '#89a5d1',
    500: '#4f81bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f81bd;
$custom-light: #89a5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f81bd",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 212.727,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59456,
    "c": 0.10716,
    "h": 253.9
  },
  "luminance": 0.21037
}

Semantic roles & 50–950 ramp

primary
#4F81BD
secondary
#CCB69C
accent
#9A53D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4F81BD

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

Preview Lab → · Contrast checker → · Palette generator →

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