#4F56D7#4F56D7

#4F56D7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.194 H 275.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4F56D7
RGBrgb(79, 86, 215)
HSLhsl(237, 63%, 58%)
HSVhsv(237, 63%, 84%)
CMYKcmyk(63.3%, 60%, 0%, 15.7%)
CIE-LABlab(43.10, 36.67, -67.23)
CIE-LCHlch(43.10, 76.58, 298.61°)
OKLaboklab(52.42% 0.0172 -0.1936)
OKLCHoklch(52.42% 0.194 275.1)
XYZxyz(18.8140, 13.2226, 65.8376)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56D7 #D7D04F
analogous
#4F9AD7 #4F56D7 #8C4FD7
triadic
#4F56D7 #D74F56 #56D74F
tetradic
#4F56D7 #D74F9A #D7D04F #4FD78C
square
#4F56D7 #D74F9A #D7D04F #4FD78C
split-complementary
#4F56D7 #D78C4F #9AD74F
monochromatic
#20258C #2B33BE #4F56D7 #8186E2 #B3B6EE

Accessibility & contrast

On white

5.76
#4F56D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4F56D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56D7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56D7#FFFFFF#000000##FFFFFF
##4F56D71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f56d7;
/* rgb */ color: rgb(79, 86, 215);
/* oklch */ color: oklch(52.4% 0.194 275.1);
Tailwind
colors: {
  custom: {
    50: '#8e85e4',
    500: '#4f56d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f56d7;
$custom-light: #8e85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56d7",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 236.912,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.19432,
    "h": 275.1
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#4F56D7
secondary
#DCD9A6
accent
#DE42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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