#4F7AC2#4F7AC2

#4F7AC2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.2% C 0.121 H 260.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4F7AC2
RGBrgb(79, 122, 194)
HSLhsl(218, 49%, 54%)
HSVhsv(218, 59%, 76%)
CMYKcmyk(59.3%, 37.1%, 0%, 23.9%)
CIE-LABlab(51.24, 7.17, -42.13)
CIE-LCHlch(51.24, 42.73, 279.66°)
OKLaboklab(58.17% -0.0207 -0.1194)
OKLCHoklch(58.17% 0.121 260.2)
XYZxyz(19.9182, 19.4747, 53.7378)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AC2 #C2974F
analogous
#4FB3C2 #4F7AC2 #5D4FC2
triadic
#4F7AC2 #C24F7A #7AC24F
tetradic
#4F7AC2 #C24FB3 #C2974F #4FC25D
square
#4F7AC2 #C24FB3 #C2974F #4FC25D
split-complementary
#4F7AC2 #C25D4F #B3C24F
monochromatic
#274270 #375D9D #4F7AC2 #7C9CD2 #AABFE2

Accessibility & contrast

On white

4.29
#4F7AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4F7AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AC2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AC2#FFFFFF#000000##000000
##4F7AC21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C80C5
Deuteranopia (green-blind)
#4C75C0
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f7ac2;
/* rgb */ color: rgb(79, 122, 194);
/* oklch */ color: oklch(58.2% 0.121 260.2);
Tailwind
colors: {
  custom: {
    50: '#89a0d5',
    500: '#4f7ac2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ac2;
$custom-light: #89a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ac2",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 217.565,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58173,
    "c": 0.12117,
    "h": 260.2
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#4F7AC2
secondary
#CFBD9E
accent
#A550D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4F7AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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