#4F7BBF#4F7BBF

#4F7BBF is a mid, moderate blue. Relative luminance 0.196; OKLCH L 58.2% C 0.116 H 258.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4F7BBF
RGBrgb(79, 123, 191)
HSLhsl(216, 47%, 53%)
HSVhsv(216, 59%, 75%)
CMYKcmyk(58.6%, 35.6%, 0%, 25.1%)
CIE-LABlab(51.37, 5.56, -40.20)
CIE-LCHlch(51.37, 40.58, 277.88°)
OKLaboklab(58.22% -0.0225 -0.1138)
OKLCHoklch(58.22% 0.116 258.8)
XYZxyz(19.7081, 19.5881, 52.0224)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BBF #BF934F
analogous
#4FB3BF #4F7BBF #5B4FBF
triadic
#4F7BBF #BF4F7B #7BBF4F
tetradic
#4F7BBF #BF4FB3 #BF934F #4FBF5B
square
#4F7BBF #BF4FB3 #BF934F #4FBF5B
split-complementary
#4F7BBF #BF5B4F #B3BF4F
monochromatic
#27426C #385E99 #4F7BBF #7C9DCF #A9BEE0

Accessibility & contrast

On white

4.27
#4F7BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4F7BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BBF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BBF#FFFFFF#000000##000000
##4F7BBF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C2
Deuteranopia (green-blind)
#5076BE
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f7bbf;
/* rgb */ color: rgb(79, 123, 191);
/* oklch */ color: oklch(58.2% 0.116 258.8);
Tailwind
colors: {
  custom: {
    50: '#89a0d2',
    500: '#4f7bbf',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bbf;
$custom-light: #89a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bbf",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 216.429,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58224,
    "c": 0.11597,
    "h": 258.8
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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