#4F56C8#4F56C8

#4F56C8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.174 H 275.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4F56C8
RGBrgb(79, 86, 200)
HSLhsl(237, 52%, 55%)
HSVhsv(237, 61%, 78%)
CMYKcmyk(60.5%, 57%, 0%, 21.6%)
CIE-LABlab(41.98, 31.66, -60.42)
CIE-LCHlch(41.98, 68.21, 297.65°)
OKLaboklab(51.24% 0.0174 -0.1735)
OKLCHoklch(51.24% 0.174 275.7)
XYZxyz(16.9742, 12.4867, 56.1481)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56C8 #C8C14F
analogous
#4F93C8 #4F56C8 #854FC8
triadic
#4F56C8 #C84F56 #56C84F
tetradic
#4F56C8 #C84F93 #C8C14F #4FC885
square
#4F56C8 #C84F93 #C8C14F #4FC885
split-complementary
#4F56C8 #C8854F #93C84F
monochromatic
#252A77 #343AA6 #4F56C8 #7E83D7 #ACB0E5

Accessibility & contrast

On white

6.00
#4F56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4F56C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56C8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56C8#FFFFFF#000000##FFFFFF
##4F56C81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f56c8;
/* rgb */ color: rgb(79, 86, 200);
/* oklch */ color: oklch(51.2% 0.174 275.7);
Tailwind
colors: {
  custom: {
    50: '#8c85d9',
    500: '#4f56c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f56c8;
$custom-light: #8c85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56c8",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 236.529,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.1744,
    "h": 275.7
  },
  "luminance": 0.12488
}

Semantic roles & 50–950 ramp

primary
#4F56C8
secondary
#D3D0A0
accent
#D34CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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