#4F56BB#4F56BB

#4F56BB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.157 H 276.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4F56BB
RGBrgb(79, 86, 187)
HSLhsl(236, 44%, 52%)
HSVhsv(236, 58%, 73%)
CMYKcmyk(57.8%, 54%, 0%, 26.7%)
CIE-LABlab(41.06, 27.32, -54.34)
CIE-LCHlch(41.06, 60.82, 296.69°)
OKLaboklab(50.27% 0.017 -0.1556)
OKLCHoklch(50.27% 0.157 276.2)
XYZxyz(15.5190, 11.9046, 48.4841)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56BB #BBB44F
analogous
#4F8CBB #4F56BB #7E4FBB
triadic
#4F56BB #BB4F56 #56BB4F
tetradic
#4F56BB #BB4F8C #BBB44F #4FBB7E
square
#4F56BB #BB4F8C #BBB44F #4FBB7E
split-complementary
#4F56BB #BB7E4F #8CBB4F
monochromatic
#282C68 #393F94 #4F56BB #7B80CC #A7ABDD

Accessibility & contrast

On white

6.21
#4F56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4F56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56BB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56BB#FFFFFF#000000##FFFFFF
##4F56BB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#076D80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f56bb;
/* rgb */ color: rgb(79, 86, 187);
/* oklch */ color: oklch(50.3% 0.157 276.2);
Tailwind
colors: {
  custom: {
    50: '#8a85d0',
    500: '#4f56bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f56bb;
$custom-light: #8a85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56bb",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 236.111,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50266,
    "c": 0.15656,
    "h": 276.2
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#4F56BB
secondary
#CAC79B
accent
#CC54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #4F56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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