#4F56CD#4F56CD

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

Color values

HEX#4F56CD
RGBrgb(79, 86, 205)
HSLhsl(237, 56%, 56%)
HSVhsv(237, 61%, 80%)
CMYKcmyk(61.5%, 58%, 0%, 19.6%)
CIE-LABlab(42.34, 33.33, -62.71)
CIE-LCHlch(42.34, 71.02, 297.99°)
OKLaboklab(51.63% 0.0174 -0.1803)
OKLCHoklch(51.63% 0.181 275.5)
XYZxyz(17.5681, 12.7242, 59.2760)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56CD #CDC64F
analogous
#4F95CD #4F56CD #874FCD
triadic
#4F56CD #CD4F56 #56CD4F
tetradic
#4F56CD #CD4F95 #CDC64F #4FCD87
square
#4F56CD #CD4F95 #CDC64F #4FCD87
split-complementary
#4F56CD #CD874F #95CD4F
monochromatic
#24297E #3138AE #4F56CD #7F84DB #AEB2E8

Accessibility & contrast

On white

5.92
#4F56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4F56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56CD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56CD#FFFFFF#000000##FFFFFF
##4F56CD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f56cd;
/* rgb */ color: rgb(79, 86, 205);
/* oklch */ color: oklch(51.6% 0.181 275.5);
Tailwind
colors: {
  custom: {
    50: '#8d85dd',
    500: '#4f56cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f56cd;
$custom-light: #8d85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56cd",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 236.667,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.18111,
    "h": 275.5
  },
  "luminance": 0.12726
}

Semantic roles & 50–950 ramp

primary
#4F56CD
secondary
#D6D3A2
accent
#D749DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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