#4F56BA#4F56BA

#4F56BA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.155 H 276.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4F56BA
RGBrgb(79, 86, 186)
HSLhsl(236, 44%, 52%)
HSVhsv(236, 58%, 73%)
CMYKcmyk(57.5%, 53.8%, 0%, 27.1%)
CIE-LABlab(41.00, 26.98, -53.86)
CIE-LCHlch(41.00, 60.24, 296.61°)
OKLaboklab(50.19% 0.0169 -0.1542)
OKLCHoklch(50.19% 0.155 276.3)
XYZxyz(15.4123, 11.8619, 47.9223)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56BA #BAB34F
analogous
#4F8CBA #4F56BA #7E4FBA
triadic
#4F56BA #BA4F56 #56BA4F
tetradic
#4F56BA #BA4F8C #BAB34F #4FBA7E
square
#4F56BA #BA4F8C #BAB34F #4FBA7E
split-complementary
#4F56BA #BA7E4F #8CBA4F
monochromatic
#282C66 #393F92 #4F56BA #7B80CB #A7AADC

Accessibility & contrast

On white

6.23
#4F56BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4F56BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56BA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56BA#FFFFFF#000000##FFFFFF
##4F56BA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#0B6D7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f56ba;
/* rgb */ color: rgb(79, 86, 186);
/* oklch */ color: oklch(50.2% 0.155 276.3);
Tailwind
colors: {
  custom: {
    50: '#8a85cf',
    500: '#4f56ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f56ba;
$custom-light: #8a85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56ba",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 236.075,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50193,
    "c": 0.15517,
    "h": 276.3
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#4F56BA
secondary
#CAC79B
accent
#CB54D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4F56BA

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

Preview Lab → · Contrast checker → · Palette generator →

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