#4F56D0#4F56D0

#4F56D0 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.185 H 275.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4F56D0
RGBrgb(79, 86, 208)
HSLhsl(237, 58%, 56%)
HSVhsv(237, 62%, 82%)
CMYKcmyk(62%, 58.7%, 0%, 18.4%)
CIE-LABlab(42.57, 34.33, -64.08)
CIE-LCHlch(42.57, 72.70, 298.18°)
OKLaboklab(51.86% 0.0174 -0.1843)
OKLCHoklch(51.86% 0.185 275.4)
XYZxyz(17.9337, 12.8705, 61.2015)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56D0 #D0C94F
analogous
#4F97D0 #4F56D0 #894FD0
triadic
#4F56D0 #D04F56 #56D04F
tetradic
#4F56D0 #D04F97 #D0C94F #4FD089
square
#4F56D0 #D04F97 #D0C94F #4FD089
split-complementary
#4F56D0 #D0894F #97D04F
monochromatic
#232882 #3037B2 #4F56D0 #7F84DD #B0B3EA

Accessibility & contrast

On white

5.88
#4F56D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4F56D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56D0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56D0#FFFFFF#000000##FFFFFF
##4F56D01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f56d0;
/* rgb */ color: rgb(79, 86, 208);
/* oklch */ color: oklch(51.9% 0.185 275.4);
Tailwind
colors: {
  custom: {
    50: '#8d85df',
    500: '#4f56d0',
    950: '#000000',
  },
}
SCSS
$custom: #4f56d0;
$custom-light: #8d85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56d0",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 208
  },
  "hsl": {
    "h": 236.744,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51861,
    "c": 0.1851,
    "h": 275.4
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#4F56D0
secondary
#D8D5A3
accent
#D947E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F56D0

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

Preview Lab → · Contrast checker → · Palette generator →

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