#4F5FC5#4F5FC5

#4F5FC5 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.159 H 273.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4F5FC5
RGBrgb(79, 95, 197)
HSLhsl(232, 50%, 54%)
HSVhsv(232, 60%, 77%)
CMYKcmyk(59.9%, 51.8%, 0%, 22.7%)
CIE-LABlab(44.06, 25.00, -55.33)
CIE-LCHlch(44.06, 60.71, 294.32°)
OKLaboklab(52.73% 0.0084 -0.1584)
OKLCHoklch(52.73% 0.159 273)
XYZxyz(17.3914, 13.8765, 54.5745)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FC5 #C5B54F
analogous
#4F9AC5 #4F5FC5 #7A4FC5
triadic
#4F5FC5 #C54F5F #5FC54F
tetradic
#4F5FC5 #C54F9A #C5B54F #4FC57A
square
#4F5FC5 #C54F9A #C5B54F #4FC57A
split-complementary
#4F5FC5 #C57A4F #9AC54F
monochromatic
#263174 #3544A2 #4F5FC5 #7D89D4 #ABB3E3

Accessibility & contrast

On white

5.56
#4F5FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4F5FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FC5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FC5#FFFFFF#000000##FFFFFF
##4F5FC51.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246DC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5fc5;
/* rgb */ color: rgb(79, 95, 197);
/* oklch */ color: oklch(52.7% 0.159 273.0);
Tailwind
colors: {
  custom: {
    50: '#8b8cd7',
    500: '#4f5fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fc5;
$custom-light: #8b8cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fc5",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 231.864,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52728,
    "c": 0.15867,
    "h": 273
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#4F5FC5
secondary
#D1CA9F
accent
#C74EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #4F5FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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