#4F56DA#4F56DA

#4F56DA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.198 H 275.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4F56DA
RGBrgb(79, 86, 218)
HSLhsl(237, 65%, 58%)
HSVhsv(237, 64%, 85%)
CMYKcmyk(63.8%, 60.6%, 0%, 14.5%)
CIE-LABlab(43.33, 37.67, -68.57)
CIE-LCHlch(43.33, 78.24, 298.78°)
OKLaboklab(52.66% 0.0171 -0.1975)
OKLCHoklch(52.66% 0.198 275)
XYZxyz(19.2030, 13.3782, 67.8864)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56DA #DAD34F
analogous
#4F9CDA #4F56DA #8D4FDA
triadic
#4F56DA #DA4F56 #56DA4F
tetradic
#4F56DA #DA4F9C #DAD34F #4FDA8D
square
#4F56DA #DA4F9C #DAD34F #4FDA8D
split-complementary
#4F56DA #DA8D4F #9CDA4F
monochromatic
#1E2490 #2931C3 #4F56DA #8287E5 #B4B7EF

Accessibility & contrast

On white

5.71
#4F56DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4F56DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56DA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56DA#FFFFFF#000000##FFFFFF
##4F56DA1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f56da;
/* rgb */ color: rgb(79, 86, 218);
/* oklch */ color: oklch(52.7% 0.198 275.0);
Tailwind
colors: {
  custom: {
    50: '#8f86e6',
    500: '#4f56da',
    950: '#000000',
  },
}
SCSS
$custom: #4f56da;
$custom-light: #8f86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56da",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 236.978,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52661,
    "c": 0.19823,
    "h": 275
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#4F56DA
secondary
#DEDBA7
accent
#E040E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F56DA

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

Preview Lab → · Contrast checker → · Palette generator →

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