#4F7ACB#4F7ACB

#4F7ACB is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.7% C 0.134 H 262.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4F7ACB
RGBrgb(79, 122, 203)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 61%, 80%)
CMYKcmyk(61.1%, 39.9%, 0%, 20.4%)
CIE-LABlab(51.71, 10.21, -46.51)
CIE-LCHlch(51.71, 47.62, 282.38°)
OKLaboklab(58.7% -0.0186 -0.1322)
OKLCHoklch(58.7% 0.134 262)
XYZxyz(20.9597, 19.8913, 59.2232)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7ACB #CBA04F
analogous
#4FB8CB #4F7ACB #624FCB
triadic
#4F7ACB #CB4F7A #7ACB4F
tetradic
#4F7ACB #CB4FB8 #CBA04F #4FCB62
square
#4F7ACB #CB4FB8 #CBA04F #4FCB62
split-complementary
#4F7ACB #CB624F #B8CB4F
monochromatic
#24427B #325CAA #4F7ACB #7E9ED9 #ADC1E7

Accessibility & contrast

On white

4.22
#4F7ACB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4F7ACB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7ACB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7ACB#FFFFFF#000000##000000
##4F7ACB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CE
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7acb;
/* rgb */ color: rgb(79, 122, 203);
/* oklch */ color: oklch(58.7% 0.134 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ba0db',
    500: '#4f7acb',
    950: '#000000',
  },
}
SCSS
$custom: #4f7acb;
$custom-light: #8ba0db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7acb",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 203
  },
  "hsl": {
    "h": 219.194,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.13353,
    "h": 262
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#4F7ACB
secondary
#D5C3A1
accent
#AB4ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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