#4F7FB8#4F7FB8

#4F7FB8 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.7% C 0.103 H 253.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4F7FB8
RGBrgb(79, 127, 184)
HSLhsl(213, 43%, 52%)
HSVhsv(213, 57%, 72%)
CMYKcmyk(57.1%, 31%, 0%, 27.8%)
CIE-LABlab(52.17, 0.85, -34.92)
CIE-LCHlch(52.17, 34.93, 271.39°)
OKLaboklab(58.74% -0.0289 -0.0984)
OKLCHoklch(58.74% 0.103 253.6)
XYZxyz(19.4625, 20.3001, 48.2308)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FB8 #B8884F
analogous
#4FB4B8 #4F7FB8 #544FB8
triadic
#4F7FB8 #B84F7F #7FB84F
tetradic
#4F7FB8 #B84FB4 #B8884F #4FB854
square
#4F7FB8 #B84FB4 #B8884F #4FB854
split-complementary
#4F7FB8 #B8544F #B4B84F
monochromatic
#284464 #3A6190 #4F7FB8 #7B9FCA #A6BEDB

Accessibility & contrast

On white

4.15
#4F7FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4F7FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FB8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FB8#FFFFFF#000000##000000
##4F7FB81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882BA
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f7fb8;
/* rgb */ color: rgb(79, 127, 184);
/* oklch */ color: oklch(58.7% 0.103 253.6);
Tailwind
colors: {
  custom: {
    50: '#88a3cd',
    500: '#4f7fb8',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fb8;
$custom-light: #88a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fb8",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 184
  },
  "hsl": {
    "h": 212.571,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58742,
    "c": 0.10252,
    "h": 253.6
  },
  "luminance": 0.20302
}

Semantic roles & 50–950 ramp

primary
#4F7FB8
secondary
#C8B39A
accent
#9956D2
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4F7FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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