#4F76D5#4F76D5

#4F76D5 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.5% C 0.152 H 265.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4F76D5
RGBrgb(79, 118, 213)
HSLhsl(223, 61%, 57%)
HSVhsv(223, 63%, 84%)
CMYKcmyk(62.9%, 44.6%, 0%, 16.5%)
CIE-LABlab(51.18, 16.08, -53.05)
CIE-LCHlch(51.18, 55.43, 286.86°)
OKLaboklab(58.47% -0.0126 -0.1515)
OKLCHoklch(58.47% 0.152 265.2)
XYZxyz(21.7090, 19.4213, 65.5425)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F76D5 #D5AE4F
analogous
#4FB9D5 #4F76D5 #6B4FD5
triadic
#4F76D5 #D54F76 #76D54F
tetradic
#4F76D5 #D54FB9 #D5AE4F #4FD56B
square
#4F76D5 #D54FB9 #D5AE4F #4FD56B
split-complementary
#4F76D5 #D56B4F #B9D54F
monochromatic
#213F89 #2C56BA #4F76D5 #809CE1 #B2C3ED

Accessibility & contrast

On white

4.30
#4F76D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4F76D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F76D5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F76D5#FFFFFF#000000##000000
##4F76D51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4980D9
Deuteranopia (green-blind)
#3374D3
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f76d5;
/* rgb */ color: rgb(79, 118, 213);
/* oklch */ color: oklch(58.5% 0.152 265.2);
Tailwind
colors: {
  custom: {
    50: '#8d9de2',
    500: '#4f76d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f76d5;
$custom-light: #8d9de2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f76d5",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 213
  },
  "hsl": {
    "h": 222.537,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58465,
    "c": 0.152,
    "h": 265.2
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#4F76D5
secondary
#DBCBA5
accent
#B643E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F76D5

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

Preview Lab → · Contrast checker → · Palette generator →

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