#4F87B3#4F87B3

#4F87B3 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.3% C 0.090 H 243.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4F87B3
RGBrgb(79, 135, 179)
HSLhsl(206, 40%, 51%)
HSVhsv(206, 56%, 70%)
CMYKcmyk(55.9%, 24.6%, 0%, 29.8%)
CIE-LABlab(54.28, -5.44, -28.76)
CIE-LCHlch(54.28, 29.27, 259.28°)
OKLaboklab(60.33% -0.0397 -0.0805)
OKLCHoklch(60.33% 0.09 243.8)
XYZxyz(20.0222, 22.2432, 45.8773)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87B3 #B37B4F
analogous
#4FB3AD #4F87B3 #4F55B3
triadic
#4F87B3 #B34F87 #87B34F
tetradic
#4F87B3 #AD4FB3 #B37B4F #55B34F
square
#4F87B3 #AD4FB3 #B37B4F #55B34F
split-complementary
#4F87B3 #B34F55 #B3AD4F
monochromatic
#29475F #3B6789 #4F87B3 #7AA4C5 #A4C1D8

Accessibility & contrast

On white

3.85
#4F87B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4F87B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87B3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87B3#FFFFFF#000000##000000
##4F87B31.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B5
Deuteranopia (green-blind)
#677DB2
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f87b3;
/* rgb */ color: rgb(79, 135, 179);
/* oklch */ color: oklch(60.3% 0.090 243.8);
Tailwind
colors: {
  custom: {
    50: '#88a9ca',
    500: '#4f87b3',
    950: '#000000',
  },
}
SCSS
$custom: #4f87b3;
$custom-light: #88a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87b3",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 179
  },
  "hsl": {
    "h": 206.4,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.08976,
    "h": 243.8
  },
  "luminance": 0.22245
}

Semantic roles & 50–950 ramp

primary
#4F87B3
secondary
#C5AC99
accent
#8D58D0
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #4F87B3

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

Preview Lab → · Contrast checker → · Palette generator →

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