#4F56D6#4F56D6

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

Color values

HEX#4F56D6
RGBrgb(79, 86, 214)
HSLhsl(237, 62%, 57%)
HSVhsv(237, 63%, 84%)
CMYKcmyk(63.1%, 59.8%, 0%, 16.1%)
CIE-LABlab(43.02, 36.34, -66.78)
CIE-LCHlch(43.02, 76.03, 298.55°)
OKLaboklab(52.34% 0.0173 -0.1922)
OKLCHoklch(52.34% 0.193 275.1)
XYZxyz(18.6859, 13.1713, 65.1629)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56D6 #D6CF4F
analogous
#4F99D6 #4F56D6 #8C4FD6
triadic
#4F56D6 #D64F56 #56D64F
tetradic
#4F56D6 #D64F99 #D6CF4F #4FD68C
square
#4F56D6 #D64F99 #D6CF4F #4FD68C
split-complementary
#4F56D6 #D68C4F #99D64F
monochromatic
#20268A #2C33BC #4F56D6 #8186E2 #B2B5ED

Accessibility & contrast

On white

5.78
#4F56D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4F56D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56D6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56D6#FFFFFF#000000##FFFFFF
##4F56D61.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f56d6;
/* rgb */ color: rgb(79, 86, 214);
/* oklch */ color: oklch(52.3% 0.193 275.1);
Tailwind
colors: {
  custom: {
    50: '#8e85e4',
    500: '#4f56d6',
    950: '#000000',
  },
}
SCSS
$custom: #4f56d6;
$custom-light: #8e85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56d6",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 214
  },
  "hsl": {
    "h": 236.889,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.19302,
    "h": 275.1
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#4F56D6
secondary
#DCD9A5
accent
#DD43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F56D6

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

Preview Lab → · Contrast checker → · Palette generator →

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