#4F56D2#4F56D2

#4F56D2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.188 H 275.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4F56D2
RGBrgb(79, 86, 210)
HSLhsl(237, 59%, 57%)
HSVhsv(237, 62%, 82%)
CMYKcmyk(62.4%, 59%, 0%, 17.6%)
CIE-LABlab(42.72, 35.00, -64.98)
CIE-LCHlch(42.72, 73.81, 298.31°)
OKLaboklab(52.02% 0.0173 -0.1869)
OKLCHoklch(52.02% 0.188 275.3)
XYZxyz(18.1813, 12.9695, 62.5055)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56D2 #D2CB4F
analogous
#4F98D2 #4F56D2 #8A4FD2
triadic
#4F56D2 #D24F56 #56D24F
tetradic
#4F56D2 #D24F98 #D2CB4F #4FD28A
square
#4F56D2 #D24F98 #D2CB4F #4FD28A
split-complementary
#4F56D2 #D28A4F #98D24F
monochromatic
#222785 #2E36B5 #4F56D2 #8085DE #B0B4EB

Accessibility & contrast

On white

5.84
#4F56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4F56D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56D2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56D2#FFFFFF#000000##FFFFFF
##4F56D21.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f56d2;
/* rgb */ color: rgb(79, 86, 210);
/* oklch */ color: oklch(52.0% 0.188 275.3);
Tailwind
colors: {
  custom: {
    50: '#8e85e1',
    500: '#4f56d2',
    950: '#000000',
  },
}
SCSS
$custom: #4f56d2;
$custom-light: #8e85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56d2",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 236.794,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.18775,
    "h": 275.3
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#4F56D2
secondary
#D9D6A4
accent
#DA45E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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