#4F5BDC#4F5BDC

#4F5BDC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.7% C 0.195 H 273.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4F5BDC
RGBrgb(79, 91, 220)
HSLhsl(235, 67%, 59%)
HSVhsv(235, 64%, 86%)
CMYKcmyk(64.1%, 58.6%, 0%, 13.7%)
CIE-LABlab(44.67, 35.27, -67.52)
CIE-LCHlch(44.67, 76.17, 297.58°)
OKLaboklab(53.7% 0.0129 -0.1944)
OKLCHoklch(53.7% 0.195 273.8)
XYZxyz(19.8795, 14.3100, 69.4108)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BDC #DCD04F
analogous
#4FA1DC #4F5BDC #894FDC
triadic
#4F5BDC #DC4F5B #5BDC4F
tetradic
#4F5BDC #DC4FA1 #DCD04F #4FDC89
square
#4F5BDC #DC4FA1 #DCD04F #4FDC89
split-complementary
#4F5BDC #DC894F #A1DC4F
monochromatic
#1D2793 #2735C6 #4F5BDC #828BE6 #B5BAF0

Accessibility & contrast

On white

5.44
#4F5BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4F5BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BDC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BDC#FFFFFF#000000##FFFFFF
##4F5BDC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5bdc;
/* rgb */ color: rgb(79, 91, 220);
/* oklch */ color: oklch(53.7% 0.195 273.8);
Tailwind
colors: {
  custom: {
    50: '#8f89e8',
    500: '#4f5bdc',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bdc;
$custom-light: #8f89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bdc",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 234.894,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.19479,
    "h": 273.8
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#4F5BDC
secondary
#DFDBA8
accent
#DB3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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