#4F7ABC#4F7ABC

#4F7ABC is a mid, moderate blue. Relative luminance 0.192; OKLCH L 57.8% C 0.113 H 258.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4F7ABC
RGBrgb(79, 122, 188)
HSLhsl(216, 45%, 52%)
HSVhsv(216, 58%, 74%)
CMYKcmyk(58%, 35.1%, 0%, 26.3%)
CIE-LABlab(50.93, 5.17, -39.17)
CIE-LCHlch(50.93, 39.51, 277.52°)
OKLaboklab(57.84% -0.0221 -0.1108)
OKLCHoklch(57.84% 0.113 258.7)
XYZxyz(19.2579, 19.2106, 50.2604)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7ABC #BC914F
analogous
#4FB1BC #4F7ABC #5A4FBC
triadic
#4F7ABC #BC4F7A #7ABC4F
tetradic
#4F7ABC #BC4FB1 #BC914F #4FBC5A
square
#4F7ABC #BC4FB1 #BC914F #4FBC5A
split-complementary
#4F7ABC #BC5A4F #B1BC4F
monochromatic
#284169 #395D95 #4F7ABC #7B9BCD #A8BDDE

Accessibility & contrast

On white

4.34
#4F7ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4F7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7ABC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7ABC#FFFFFF#000000##000000
##4F7ABC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBF
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f7abc;
/* rgb */ color: rgb(79, 122, 188);
/* oklch */ color: oklch(57.8% 0.113 258.7);
Tailwind
colors: {
  custom: {
    50: '#89a0d0',
    500: '#4f7abc',
    950: '#000000',
  },
}
SCSS
$custom: #4f7abc;
$custom-light: #89a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7abc",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 216.33,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57835,
    "c": 0.11295,
    "h": 258.7
  },
  "luminance": 0.19212
}

Semantic roles & 50–950 ramp

primary
#4F7ABC
secondary
#CBB89C
accent
#A253D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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