#4F7CBC#4F7CBC

#4F7CBC is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.3% C 0.111 H 257.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4F7CBC
RGBrgb(79, 124, 188)
HSLhsl(215, 45%, 52%)
HSVhsv(215, 58%, 74%)
CMYKcmyk(58%, 34%, 0%, 26.3%)
CIE-LABlab(51.50, 3.96, -38.27)
CIE-LCHlch(51.50, 38.47, 275.91°)
OKLaboklab(58.28% -0.0244 -0.1081)
OKLCHoklch(58.28% 0.111 257.3)
XYZxyz(19.5060, 19.7068, 50.3431)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CBC #BC8F4F
analogous
#4FB3BC #4F7CBC #584FBC
triadic
#4F7CBC #BC4F7C #7CBC4F
tetradic
#4F7CBC #BC4FB3 #BC8F4F #4FBC58
square
#4F7CBC #BC4FB3 #BC8F4F #4FBC58
split-complementary
#4F7CBC #BC584F #B3BC4F
monochromatic
#284369 #395F95 #4F7CBC #7B9DCD #A8BEDE

Accessibility & contrast

On white

4.25
#4F7CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4F7CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CBC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CBC#FFFFFF#000000##000000
##4F7CBC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BF
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7cbc;
/* rgb */ color: rgb(79, 124, 188);
/* oklch */ color: oklch(58.3% 0.111 257.3);
Tailwind
colors: {
  custom: {
    50: '#89a1d0',
    500: '#4f7cbc',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cbc;
$custom-light: #89a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cbc",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 188
  },
  "hsl": {
    "h": 215.229,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58281,
    "c": 0.11083,
    "h": 257.3
  },
  "luminance": 0.19708
}

Semantic roles & 50–950 ramp

primary
#4F7CBC
secondary
#CBB89C
accent
#9F53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F7CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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