#4F56BF#4F56BF

#4F56BF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.162 H 276.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4F56BF
RGBrgb(79, 86, 191)
HSLhsl(236, 47%, 53%)
HSVhsv(236, 59%, 75%)
CMYKcmyk(58.6%, 55%, 0%, 25.1%)
CIE-LABlab(41.34, 28.65, -56.23)
CIE-LCHlch(41.34, 63.11, 297.00°)
OKLaboklab(50.56% 0.0171 -0.1612)
OKLCHoklch(50.56% 0.162 276.1)
XYZxyz(15.9532, 12.0783, 50.7708)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56BF #BFB84F
analogous
#4F8EBF #4F56BF #804FBF
triadic
#4F56BF #BF4F56 #56BF4F
tetradic
#4F56BF #BF4F8E #BFB84F #4FBF80
square
#4F56BF #BF4F8E #BFB84F #4FBF80
split-complementary
#4F56BF #BF804F #8EBF4F
monochromatic
#272C6C #383E99 #4F56BF #7C81CF #A9ACE0

Accessibility & contrast

On white

6.15
#4F56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4F56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56BF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56BF#FFFFFF#000000##FFFFFF
##4F56BF1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f56bf;
/* rgb */ color: rgb(79, 86, 191);
/* oklch */ color: oklch(50.6% 0.162 276.1);
Tailwind
colors: {
  custom: {
    50: '#8a85d3',
    500: '#4f56bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f56bf;
$custom-light: #8a85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56bf",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 236.25,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5056,
    "c": 0.16211,
    "h": 276.1
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#4F56BF
secondary
#CDCA9D
accent
#CE51D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4F56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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