#4F56DB#4F56DB

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

Color values

HEX#4F56DB
RGBrgb(79, 86, 219)
HSLhsl(237, 66%, 58%)
HSVhsv(237, 64%, 86%)
CMYKcmyk(63.9%, 60.7%, 0%, 14.1%)
CIE-LABlab(43.41, 38.00, -69.01)
CIE-LCHlch(43.41, 78.78, 298.84°)
OKLaboklab(52.74% 0.0171 -0.1988)
OKLCHoklch(52.74% 0.2 274.9)
XYZxyz(19.3342, 13.4307, 68.5776)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56DB #DBD44F
analogous
#4F9CDB #4F56DB #8E4FDB
triadic
#4F56DB #DB4F56 #56DB4F
tetradic
#4F56DB #DB4F9C #DBD44F #4FDB8E
square
#4F56DB #DB4F9C #DBD44F #4FDB8E
split-complementary
#4F56DB #DB8E4F #9CDB4F
monochromatic
#1E2492 #2830C5 #4F56DB #8287E5 #B5B8F0

Accessibility & contrast

On white

5.70
#4F56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4F56DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56DB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56DB#FFFFFF#000000##FFFFFF
##4F56DB1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f56db;
/* rgb */ color: rgb(79, 86, 219);
/* oklch */ color: oklch(52.7% 0.200 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f86e7',
    500: '#4f56db',
    950: '#000000',
  },
}
SCSS
$custom: #4f56db;
$custom-light: #8f86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56db",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 237,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.19953,
    "h": 274.9
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#4F56DB
secondary
#DFDCA7
accent
#E03FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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