#4F7BBC#4F7BBC

#4F7BBC is a mid, moderate blue. Relative luminance 0.195; OKLCH L 58.1% C 0.112 H 258.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4F7BBC
RGBrgb(79, 123, 188)
HSLhsl(216, 45%, 52%)
HSVhsv(216, 58%, 74%)
CMYKcmyk(58%, 34.6%, 0%, 26.3%)
CIE-LABlab(51.22, 4.56, -38.72)
CIE-LCHlch(51.22, 38.98, 276.72°)
OKLaboklab(58.06% -0.0233 -0.1094)
OKLCHoklch(58.06% 0.112 258)
XYZxyz(19.3813, 19.4574, 50.3015)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BBC #BC904F
analogous
#4FB1BC #4F7BBC #5A4FBC
triadic
#4F7BBC #BC4F7B #7BBC4F
tetradic
#4F7BBC #BC4FB1 #BC904F #4FBC5A
square
#4F7BBC #BC4FB1 #BC904F #4FBC5A
split-complementary
#4F7BBC #BC5A4F #B1BC4F
monochromatic
#284269 #395E95 #4F7BBC #7B9CCD #A8BDDE

Accessibility & contrast

On white

4.29
#4F7BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4F7BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BBC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BBC#FFFFFF#000000##000000
##4F7BBC1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080BF
Deuteranopia (green-blind)
#5275BB
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f7bbc;
/* rgb */ color: rgb(79, 123, 188);
/* oklch */ color: oklch(58.1% 0.112 258.0);
Tailwind
colors: {
  custom: {
    50: '#89a0d0',
    500: '#4f7bbc',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bbc;
$custom-light: #89a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bbc",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 188
  },
  "hsl": {
    "h": 215.78,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58058,
    "c": 0.11188,
    "h": 258
  },
  "luminance": 0.19459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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