#4F7BBB#4F7BBB

#4F7BBB is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.0% C 0.111 H 257.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4F7BBB
RGBrgb(79, 123, 187)
HSLhsl(216, 44%, 52%)
HSVhsv(216, 58%, 73%)
CMYKcmyk(57.8%, 34.2%, 0%, 26.7%)
CIE-LABlab(51.17, 4.23, -38.22)
CIE-LCHlch(51.17, 38.45, 276.32°)
OKLaboklab(58% -0.0235 -0.108)
OKLCHoklch(58% 0.111 257.7)
XYZxyz(19.2739, 19.4144, 49.7357)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BBB #BB8F4F
analogous
#4FB1BB #4F7BBB #594FBB
triadic
#4F7BBB #BB4F7B #7BBB4F
tetradic
#4F7BBB #BB4FB1 #BB8F4F #4FBB59
square
#4F7BBB #BB4FB1 #BB8F4F #4FBB59
split-complementary
#4F7BBB #BB594F #B1BB4F
monochromatic
#284268 #395E94 #4F7BBB #7B9CCC #A7BDDD

Accessibility & contrast

On white

4.30
#4F7BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4F7BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BBB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BBB#FFFFFF#000000##000000
##4F7BBB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#617FBE
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f7bbb;
/* rgb */ color: rgb(79, 123, 187);
/* oklch */ color: oklch(58.0% 0.111 257.7);
Tailwind
colors: {
  custom: {
    50: '#88a0d0',
    500: '#4f7bbb',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bbb;
$custom-light: #88a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bbb",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 215.556,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.11053,
    "h": 257.7
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#4F7BBB
secondary
#CAB79B
accent
#A054D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F7BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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