#4F56BC#4F56BC

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

Color values

HEX#4F56BC
RGBrgb(79, 86, 188)
HSLhsl(236, 45%, 52%)
HSVhsv(236, 58%, 74%)
CMYKcmyk(58%, 54.3%, 0%, 26.3%)
CIE-LABlab(41.13, 27.65, -54.81)
CIE-LCHlch(41.13, 61.39, 296.77°)
OKLaboklab(50.34% 0.017 -0.157)
OKLCHoklch(50.34% 0.158 276.2)
XYZxyz(15.6264, 11.9475, 49.0499)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56BC #BCB54F
analogous
#4F8CBC #4F56BC #7F4FBC
triadic
#4F56BC #BC4F56 #56BC4F
tetradic
#4F56BC #BC4F8C #BCB54F #4FBC7F
square
#4F56BC #BC4F8C #BCB54F #4FBC7F
split-complementary
#4F56BC #BC7F4F #8CBC4F
monochromatic
#282C69 #393F95 #4F56BC #7B81CD #A8ABDE

Accessibility & contrast

On white

6.20
#4F56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4F56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56BC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56BC#FFFFFF#000000##FFFFFF
##4F56BC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#046E80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f56bc;
/* rgb */ color: rgb(79, 86, 188);
/* oklch */ color: oklch(50.3% 0.158 276.2);
Tailwind
colors: {
  custom: {
    50: '#8a85d1',
    500: '#4f56bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f56bc;
$custom-light: #8a85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56bc",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 236.147,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.15796,
    "h": 276.2
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#4F56BC
secondary
#CBC89C
accent
#CC53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #4F56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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