#4F8FAB#4F8FAB

#4F8FAB is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 61.8% C 0.078 H 228.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4F8FAB
RGBrgb(79, 143, 171)
HSLhsl(198, 37%, 49%)
HSVhsv(198, 54%, 67%)
CMYKcmyk(53.8%, 16.4%, 0%, 32.9%)
CIE-LABlab(56.33, -12.44, -21.02)
CIE-LCHlch(56.33, 24.43, 239.38°)
OKLaboklab(61.85% -0.0519 -0.0584)
OKLCHoklch(61.85% 0.078 228.4)
XYZxyz(20.3948, 24.2457, 42.1253)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8FAB #AB6B4F
analogous
#4FAB99 #4F8FAB #4F61AB
triadic
#4F8FAB #AB4F8F #8FAB4F
tetradic
#4F8FAB #994FAB #AB6B4F #61AB4F
square
#4F8FAB #994FAB #AB6B4F #61AB4F
split-complementary
#4F8FAB #AB4F61 #AB994F
monochromatic
#284957 #3C6C81 #4F8FAB #77AAC0 #A1C4D4

Accessibility & contrast

On white

3.59
#4F8FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#4F8FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8FAB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8FAB#FFFFFF#000000##000000
##4F8FAB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#808DAC
Deuteranopia (green-blind)
#7383AB
Tritanopia (blue-blind)
#0E9798
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f8fab;
/* rgb */ color: rgb(79, 143, 171);
/* oklch */ color: oklch(61.8% 0.078 228.4);
Tailwind
colors: {
  custom: {
    50: '#87afc4',
    500: '#4f8fab',
    950: '#000000',
  },
}
SCSS
$custom: #4f8fab;
$custom-light: #87afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8fab",
  "rgb": {
    "r": 79,
    "g": 143,
    "b": 171
  },
  "hsl": {
    "h": 198.261,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.61846,
    "c": 0.07812,
    "h": 228.4
  },
  "luminance": 0.24247
}

Semantic roles & 50–950 ramp

primary
#4F8FAB
secondary
#C1A295
accent
#7E5BCD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #4F8FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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