#4F56BE#4F56BE

#4F56BE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.161 H 276.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4F56BE
RGBrgb(79, 86, 190)
HSLhsl(236, 46%, 53%)
HSVhsv(236, 58%, 75%)
CMYKcmyk(58.4%, 54.7%, 0%, 25.5%)
CIE-LABlab(41.27, 28.32, -55.76)
CIE-LCHlch(41.27, 62.53, 296.93°)
OKLaboklab(50.49% 0.0171 -0.1598)
OKLCHoklch(50.49% 0.161 276.1)
XYZxyz(15.8435, 12.0344, 50.1932)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56BE #BEB74F
analogous
#4F8EBE #4F56BE #7F4FBE
triadic
#4F56BE #BE4F56 #56BE4F
tetradic
#4F56BE #BE4F8E #BEB74F #4FBE7F
square
#4F56BE #BE4F8E #BEB74F #4FBE7F
split-complementary
#4F56BE #BE7F4F #8EBE4F
monochromatic
#282C6B #383E98 #4F56BE #7C81CF #A8ACDF

Accessibility & contrast

On white

6.16
#4F56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4F56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56BE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56BE#FFFFFF#000000##FFFFFF
##4F56BE1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E66C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f56be;
/* rgb */ color: rgb(79, 86, 190);
/* oklch */ color: oklch(50.5% 0.161 276.1);
Tailwind
colors: {
  custom: {
    50: '#8a85d2',
    500: '#4f56be',
    950: '#000000',
  },
}
SCSS
$custom: #4f56be;
$custom-light: #8a85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56be",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 236.216,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.16073,
    "h": 276.1
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#4F56BE
secondary
#CCC99C
accent
#CD52D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4F56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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