#4F7BC2#4F7BC2

#4F7BC2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.4% C 0.120 H 259.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4F7BC2
RGBrgb(79, 123, 194)
HSLhsl(217, 49%, 54%)
HSVhsv(217, 59%, 76%)
CMYKcmyk(59.3%, 36.6%, 0%, 23.9%)
CIE-LABlab(51.52, 6.56, -41.68)
CIE-LCHlch(51.52, 42.19, 278.95°)
OKLaboklab(58.39% -0.0217 -0.1181)
OKLCHoklch(58.39% 0.12 259.6)
XYZxyz(20.0416, 19.7215, 53.7790)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BC2 #C2964F
analogous
#4FB5C2 #4F7BC2 #5C4FC2
triadic
#4F7BC2 #C24F7B #7BC24F
tetradic
#4F7BC2 #C24FB5 #C2964F #4FC25C
square
#4F7BC2 #C24FB5 #C2964F #4FC25C
split-complementary
#4F7BC2 #C25C4F #B5C24F
monochromatic
#274370 #375E9D #4F7BC2 #7C9DD2 #AABFE2

Accessibility & contrast

On white

4.25
#4F7BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4F7BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BC2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BC2#FFFFFF#000000##000000
##4F7BC21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7bc2;
/* rgb */ color: rgb(79, 123, 194);
/* oklch */ color: oklch(58.4% 0.120 259.6);
Tailwind
colors: {
  custom: {
    50: '#89a0d5',
    500: '#4f7bc2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bc2;
$custom-light: #89a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bc2",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 217.043,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.12007,
    "h": 259.6
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#4F7BC2
secondary
#CFBC9E
accent
#A450D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4F7BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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