#4F56BD#4F56BD

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

Color values

HEX#4F56BD
RGBrgb(79, 86, 189)
HSLhsl(236, 45%, 53%)
HSVhsv(236, 58%, 74%)
CMYKcmyk(58.2%, 54.5%, 0%, 25.9%)
CIE-LABlab(41.20, 27.98, -55.28)
CIE-LCHlch(41.20, 61.96, 296.85°)
OKLaboklab(50.41% 0.0171 -0.1584)
OKLCHoklch(50.41% 0.159 276.1)
XYZxyz(15.7346, 11.9908, 49.6196)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56BD #BDB64F
analogous
#4F8DBD #4F56BD #7F4FBD
triadic
#4F56BD #BD4F56 #56BD4F
tetradic
#4F56BD #BD4F8D #BDB64F #4FBD7F
square
#4F56BD #BD4F8D #BDB64F #4FBD7F
split-complementary
#4F56BD #BD7F4F #8DBD4F
monochromatic
#282C6A #383E96 #4F56BD #7C81CE #A8ABDE

Accessibility & contrast

On white

6.18
#4F56BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4F56BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56BD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56BD#FFFFFF#000000##FFFFFF
##4F56BD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1166C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f56bd;
/* rgb */ color: rgb(79, 86, 189);
/* oklch */ color: oklch(50.4% 0.159 276.1);
Tailwind
colors: {
  custom: {
    50: '#8a85d2',
    500: '#4f56bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f56bd;
$custom-light: #8a85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56bd",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 236.182,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.15934,
    "h": 276.1
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#4F56BD
secondary
#CCC99C
accent
#CD53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #4F56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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