#4F56D9#4F56D9

#4F56D9 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.197 H 275.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4F56D9
RGBrgb(79, 86, 217)
HSLhsl(237, 64%, 58%)
HSVhsv(237, 64%, 85%)
CMYKcmyk(63.6%, 60.4%, 0%, 14.9%)
CIE-LABlab(43.25, 37.34, -68.12)
CIE-LCHlch(43.25, 77.68, 298.72°)
OKLaboklab(52.58% 0.0172 -0.1962)
OKLCHoklch(52.58% 0.197 275)
XYZxyz(19.0725, 13.3260, 67.1993)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56D9 #D9D24F
analogous
#4F9BD9 #4F56D9 #8D4FD9
triadic
#4F56D9 #D94F56 #56D94F
tetradic
#4F56D9 #D94F9B #D9D24F #4FD98D
square
#4F56D9 #D94F9B #D9D24F #4FD98D
split-complementary
#4F56D9 #D98D4F #9BD94F
monochromatic
#1F258F #2A31C1 #4F56D9 #8186E4 #B4B7EF

Accessibility & contrast

On white

5.73
#4F56D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4F56D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56D9
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56D9#FFFFFF#000000##FFFFFF
##4F56D91.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f56d9;
/* rgb */ color: rgb(79, 86, 217);
/* oklch */ color: oklch(52.6% 0.197 275.0);
Tailwind
colors: {
  custom: {
    50: '#8f85e6',
    500: '#4f56d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f56d9;
$custom-light: #8f85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56d9",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 236.957,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5258,
    "c": 0.19694,
    "h": 275
  },
  "luminance": 0.13328
}

Semantic roles & 50–950 ramp

primary
#4F56D9
secondary
#DDDBA6
accent
#DF40E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F56D9

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

Preview Lab → · Contrast checker → · Palette generator →

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