#4F56CF#4F56CF

#4F56CF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.184 H 275.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4F56CF
RGBrgb(79, 86, 207)
HSLhsl(237, 57%, 56%)
HSVhsv(237, 62%, 81%)
CMYKcmyk(61.8%, 58.5%, 0%, 18.8%)
CIE-LABlab(42.49, 34.00, -63.62)
CIE-LCHlch(42.49, 72.14, 298.12°)
OKLaboklab(51.78% 0.0174 -0.183)
OKLCHoklch(51.78% 0.184 275.4)
XYZxyz(17.8110, 12.8214, 60.5556)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56CF #CFC84F
analogous
#4F96CF #4F56CF #884FCF
triadic
#4F56CF #CF4F56 #56CF4F
tetradic
#4F56CF #CF4F96 #CFC84F #4FCF88
square
#4F56CF #CF4F96 #CFC84F #4FCF88
split-complementary
#4F56CF #CF884F #96CF4F
monochromatic
#232881 #3037B1 #4F56CF #7F84DC #AFB2E9

Accessibility & contrast

On white

5.89
#4F56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4F56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56CF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56CF#FFFFFF#000000##FFFFFF
##4F56CF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f56cf;
/* rgb */ color: rgb(79, 86, 207);
/* oklch */ color: oklch(51.8% 0.184 275.4);
Tailwind
colors: {
  custom: {
    50: '#8d85df',
    500: '#4f56cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f56cf;
$custom-light: #8d85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56cf",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 236.719,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51782,
    "c": 0.18378,
    "h": 275.4
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#4F56CF
secondary
#D7D4A2
accent
#D847E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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