#4F7EC5#4F7EC5

#4F7EC5 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.2% C 0.121 H 258.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4F7EC5
RGBrgb(79, 126, 197)
HSLhsl(216, 50%, 54%)
HSVhsv(216, 60%, 77%)
CMYKcmyk(59.9%, 36%, 0%, 22.7%)
CIE-LABlab(52.52, 5.75, -41.81)
CIE-LCHlch(52.52, 42.20, 277.84°)
OKLaboklab(59.22% -0.0243 -0.1184)
OKLCHoklch(59.22% 0.121 258.4)
XYZxyz(20.7598, 20.6134, 55.6973)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EC5 #C5964F
analogous
#4FB9C5 #4F7EC5 #5B4FC5
triadic
#4F7EC5 #C54F7E #7EC54F
tetradic
#4F7EC5 #C54FB9 #C5964F #4FC55B
square
#4F7EC5 #C54FB9 #C5964F #4FC55B
split-complementary
#4F7EC5 #C55B4F #B9C54F
monochromatic
#264574 #3560A2 #4F7EC5 #7DA0D4 #ABC1E3

Accessibility & contrast

On white

4.10
#4F7EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4F7EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EC5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EC5#FFFFFF#000000##000000
##4F7EC51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6083C8
Deuteranopia (green-blind)
#5078C4
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7ec5;
/* rgb */ color: rgb(79, 126, 197);
/* oklch */ color: oklch(59.2% 0.121 258.4);
Tailwind
colors: {
  custom: {
    50: '#8aa3d7',
    500: '#4f7ec5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ec5;
$custom-light: #8aa3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ec5",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 216.102,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59223,
    "c": 0.12089,
    "h": 258.4
  },
  "luminance": 0.20615
}

Semantic roles & 50–950 ramp

primary
#4F7EC5
secondary
#D1BD9F
accent
#A24EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83

Preview Lab

Preview with #4F7EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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