#4F7CBF#4F7CBF

#4F7CBF is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.4% C 0.115 H 258.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4F7CBF
RGBrgb(79, 124, 191)
HSLhsl(216, 47%, 53%)
HSVhsv(216, 59%, 75%)
CMYKcmyk(58.6%, 35.1%, 0%, 25.1%)
CIE-LABlab(51.65, 4.96, -39.75)
CIE-LCHlch(51.65, 40.06, 277.11°)
OKLaboklab(58.45% -0.0236 -0.1124)
OKLCHoklch(58.45% 0.115 258.1)
XYZxyz(19.8328, 19.8375, 52.0640)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CBF #BF924F
analogous
#4FB4BF #4F7CBF #5A4FBF
triadic
#4F7CBF #BF4F7C #7CBF4F
tetradic
#4F7CBF #BF4FB4 #BF924F #4FBF5A
square
#4F7CBF #BF4FB4 #BF924F #4FBF5A
split-complementary
#4F7CBF #BF5A4F #B4BF4F
monochromatic
#27436C #385F99 #4F7CBF #7C9DCF #A9BFE0

Accessibility & contrast

On white

4.23
#4F7CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4F7CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CBF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CBF#FFFFFF#000000##000000
##4F7CBF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C2
Deuteranopia (green-blind)
#5276BE
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7cbf;
/* rgb */ color: rgb(79, 124, 191);
/* oklch */ color: oklch(58.4% 0.115 258.1);
Tailwind
colors: {
  custom: {
    50: '#89a1d2',
    500: '#4f7cbf',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cbf;
$custom-light: #89a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cbf",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 215.893,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58446,
    "c": 0.1149,
    "h": 258.1
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#4F7CBF
secondary
#CDBA9D
accent
#A151D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F7CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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