#4F7BB9#4F7BB9

#4F7BB9 is a mid, moderate blue. Relative luminance 0.193; OKLCH L 57.9% C 0.108 H 257.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4F7BB9
RGBrgb(79, 123, 185)
HSLhsl(215, 43%, 52%)
HSVhsv(215, 57%, 73%)
CMYKcmyk(57.3%, 33.5%, 0%, 27.5%)
CIE-LABlab(51.07, 3.57, -37.22)
CIE-LCHlch(51.07, 37.40, 275.48°)
OKLaboklab(57.89% -0.0241 -0.1051)
OKLCHoklch(57.89% 0.108 257.1)
XYZxyz(19.0613, 19.3294, 48.6160)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BB9 #B98D4F
analogous
#4FB0B9 #4F7BB9 #584FB9
triadic
#4F7BB9 #B94F7B #7BB94F
tetradic
#4F7BB9 #B94FB0 #B98D4F #4FB958
square
#4F7BB9 #B94FB0 #B98D4F #4FB958
split-complementary
#4F7BB9 #B9584F #B0B94F
monochromatic
#284265 #3A5E91 #4F7BB9 #7B9CCA #A7BDDC

Accessibility & contrast

On white

4.32
#4F7BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4F7BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BB9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BB9#FFFFFF#000000##000000
##4F7BB91.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBC
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f7bb9;
/* rgb */ color: rgb(79, 123, 185);
/* oklch */ color: oklch(57.9% 0.108 257.1);
Tailwind
colors: {
  custom: {
    50: '#88a0ce',
    500: '#4f7bb9',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bb9;
$custom-light: #88a0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bb9",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 185
  },
  "hsl": {
    "h": 215.094,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57894,
    "c": 0.10782,
    "h": 257.1
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#4F7BB9
secondary
#C9B69B
accent
#9F55D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4F7BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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