#4F7CBD#4F7CBD

#4F7CBD is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.3% C 0.112 H 257.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4F7CBD
RGBrgb(79, 124, 189)
HSLhsl(215, 45%, 53%)
HSVhsv(215, 58%, 74%)
CMYKcmyk(58.2%, 34.4%, 0%, 25.9%)
CIE-LABlab(51.55, 4.29, -38.76)
CIE-LCHlch(51.55, 39.00, 276.32°)
OKLaboklab(58.34% -0.0241 -0.1096)
OKLCHoklch(58.34% 0.112 257.6)
XYZxyz(19.6142, 19.7500, 50.9128)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CBD #BD904F
analogous
#4FB3BD #4F7CBD #594FBD
triadic
#4F7CBD #BD4F7C #7CBD4F
tetradic
#4F7CBD #BD4FB3 #BD904F #4FBD59
square
#4F7CBD #BD4FB3 #BD904F #4FBD59
split-complementary
#4F7CBD #BD594F #B3BD4F
monochromatic
#28436A #385F96 #4F7CBD #7C9DCE #A8BEDE

Accessibility & contrast

On white

4.24
#4F7CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4F7CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CBD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CBD#FFFFFF#000000##000000
##4F7CBD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C0
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7cbd;
/* rgb */ color: rgb(79, 124, 189);
/* oklch */ color: oklch(58.3% 0.112 257.6);
Tailwind
colors: {
  custom: {
    50: '#89a1d1',
    500: '#4f7cbd',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cbd;
$custom-light: #89a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cbd",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 189
  },
  "hsl": {
    "h": 215.455,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58336,
    "c": 0.11219,
    "h": 257.6
  },
  "luminance": 0.19752
}

Semantic roles & 50–950 ramp

primary
#4F7CBD
secondary
#CCB89C
accent
#A053D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F7CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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