#4F56D1#4F56D1

#4F56D1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.186 H 275.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4F56D1
RGBrgb(79, 86, 209)
HSLhsl(237, 59%, 56%)
HSVhsv(237, 62%, 82%)
CMYKcmyk(62.2%, 58.9%, 0%, 18%)
CIE-LABlab(42.64, 34.67, -64.53)
CIE-LCHlch(42.64, 73.25, 298.25°)
OKLaboklab(51.94% 0.0173 -0.1856)
OKLCHoklch(51.94% 0.186 275.3)
XYZxyz(18.0571, 12.9198, 61.8514)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56D1 #D1CA4F
analogous
#4F97D1 #4F56D1 #894FD1
triadic
#4F56D1 #D14F56 #56D14F
tetradic
#4F56D1 #D14F97 #D1CA4F #4FD189
square
#4F56D1 #D14F97 #D1CA4F #4FD189
split-complementary
#4F56D1 #D1894F #97D14F
monochromatic
#222883 #2F36B4 #4F56D1 #8085DE #B0B3EA

Accessibility & contrast

On white

5.86
#4F56D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4F56D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56D1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56D1#FFFFFF#000000##FFFFFF
##4F56D11.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f56d1;
/* rgb */ color: rgb(79, 86, 209);
/* oklch */ color: oklch(51.9% 0.186 275.3);
Tailwind
colors: {
  custom: {
    50: '#8d85e0',
    500: '#4f56d1',
    950: '#000000',
  },
}
SCSS
$custom: #4f56d1;
$custom-light: #8d85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56d1",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 209
  },
  "hsl": {
    "h": 236.769,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.18643,
    "h": 275.3
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#4F56D1
secondary
#D9D6A3
accent
#D946E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F56D1

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

Preview Lab → · Contrast checker → · Palette generator →

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