#4F7BB2#4F7BB2

#4F7BB2 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.5% C 0.098 H 254.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4F7BB2
RGBrgb(79, 123, 178)
HSLhsl(213, 39%, 50%)
HSVhsv(213, 56%, 70%)
CMYKcmyk(55.6%, 30.9%, 0%, 30.2%)
CIE-LABlab(50.74, 1.28, -33.72)
CIE-LCHlch(50.74, 33.74, 272.17°)
OKLaboklab(57.52% -0.026 -0.0949)
OKLCHoklch(57.52% 0.098 254.7)
XYZxyz(18.3405, 19.0410, 44.8196)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BB2 #B2864F
analogous
#4FACB2 #4F7BB2 #544FB2
triadic
#4F7BB2 #B24F7B #7BB24F
tetradic
#4F7BB2 #B24FAC #B2864F #4FB254
square
#4F7BB2 #B24FAC #B2864F #4FB254
split-complementary
#4F7BB2 #B2544F #ACB24F
monochromatic
#29405E #3C5E88 #4F7BB2 #7A9BC5 #A4BBD7

Accessibility & contrast

On white

4.37
#4F7BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4F7BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BB2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BB2#FFFFFF#000000##000000
##4F7BB21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB4
Deuteranopia (green-blind)
#5874B1
Tritanopia (blue-blind)
#0B878F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f7bb2;
/* rgb */ color: rgb(79, 123, 178);
/* oklch */ color: oklch(57.5% 0.098 254.7);
Tailwind
colors: {
  custom: {
    50: '#87a0c9',
    500: '#4f7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bb2;
$custom-light: #87a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bb2",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 213.333,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57522,
    "c": 0.09841,
    "h": 254.7
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

primary
#4F7BB2
secondary
#C4B198
accent
#9A59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4F7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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