#4F87BA#4F87BA

#4F87BA is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.7% C 0.098 H 247.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4F87BA
RGBrgb(79, 135, 186)
HSLhsl(209, 44%, 52%)
HSVhsv(209, 58%, 73%)
CMYKcmyk(57.5%, 27.4%, 0%, 27.1%)
CIE-LABlab(54.59, -3.20, -32.29)
CIE-LCHlch(54.59, 32.45, 264.33°)
OKLaboklab(60.67% -0.0374 -0.0907)
OKLCHoklch(60.67% 0.098 247.6)
XYZxyz(20.7481, 22.5336, 49.7009)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87BA #BA824F
analogous
#4FBAB7 #4F87BA #4F52BA
triadic
#4F87BA #BA4F87 #87BA4F
tetradic
#4F87BA #B74FBA #BA824F #52BA4F
square
#4F87BA #B74FBA #BA824F #52BA4F
split-complementary
#4F87BA #BA4F52 #BAB74F
monochromatic
#284966 #396892 #4F87BA #7BA5CB #A7C3DC

Accessibility & contrast

On white

3.81
#4F87BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4F87BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87BA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87BA#FFFFFF#000000##000000
##4F87BA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7188BC
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f87ba;
/* rgb */ color: rgb(79, 135, 186);
/* oklch */ color: oklch(60.7% 0.098 247.6);
Tailwind
colors: {
  custom: {
    50: '#88a9cf',
    500: '#4f87ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f87ba;
$custom-light: #88a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87ba",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 208.598,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60668,
    "c": 0.0981,
    "h": 247.6
  },
  "luminance": 0.22535
}

Semantic roles & 50–950 ramp

primary
#4F87BA
secondary
#CAB19B
accent
#9154D3
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4F87BA

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

Preview Lab → · Contrast checker → · Palette generator →

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