#4F56CC#4F56CC

#4F56CC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.180 H 275.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4F56CC
RGBrgb(79, 86, 204)
HSLhsl(237, 55%, 55%)
HSVhsv(237, 61%, 80%)
CMYKcmyk(61.3%, 57.8%, 0%, 20%)
CIE-LABlab(42.27, 33.00, -62.25)
CIE-LCHlch(42.27, 70.46, 297.92°)
OKLaboklab(51.55% 0.0174 -0.1789)
OKLCHoklch(51.55% 0.18 275.5)
XYZxyz(17.4478, 12.6761, 58.6423)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56CC #CCC54F
analogous
#4F94CC #4F56CC #864FCC
triadic
#4F56CC #CC4F56 #56CC4F
tetradic
#4F56CC #CC4F94 #CCC54F #4FCC86
square
#4F56CC #CC4F94 #CCC54F #4FCC86
split-complementary
#4F56CC #CC864F #94CC4F
monochromatic
#24297D #3239AC #4F56CC #7E84DA #AEB1E7

Accessibility & contrast

On white

5.94
#4F56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4F56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56CC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56CC#FFFFFF#000000##FFFFFF
##4F56CC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f56cc;
/* rgb */ color: rgb(79, 86, 204);
/* oklch */ color: oklch(51.5% 0.180 275.5);
Tailwind
colors: {
  custom: {
    50: '#8d85dc',
    500: '#4f56cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f56cc;
$custom-light: #8d85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56cc",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 236.64,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51548,
    "c": 0.17977,
    "h": 275.5
  },
  "luminance": 0.12677
}

Semantic roles & 50–950 ramp

primary
#4F56CC
secondary
#D5D3A1
accent
#D649DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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