#4F5CC5#4F5CC5

#4F5CC5 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.163 H 274.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4F5CC5
RGBrgb(79, 92, 197)
HSLhsl(233, 50%, 54%)
HSVhsv(233, 60%, 77%)
CMYKcmyk(59.9%, 53.3%, 0%, 22.7%)
CIE-LABlab(43.28, 26.89, -56.58)
CIE-LCHlch(43.28, 62.64, 295.42°)
OKLaboklab(52.15% 0.0114 -0.1622)
OKLCHoklch(52.15% 0.163 274)
XYZxyz(17.1263, 13.3464, 54.4861)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CC5 #C5B84F
analogous
#4F97C5 #4F5CC5 #7D4FC5
triadic
#4F5CC5 #C54F5C #5CC54F
tetradic
#4F5CC5 #C54F97 #C5B84F #4FC57D
square
#4F5CC5 #C54F97 #C5B84F #4FC57D
split-complementary
#4F5CC5 #C57D4F #97C54F
monochromatic
#262F74 #3541A2 #4F5CC5 #7D87D4 #ABB1E3

Accessibility & contrast

On white

5.72
#4F5CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4F5CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CC5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CC5#FFFFFF#000000##FFFFFF
##4F5CC51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6CC9
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f5cc5;
/* rgb */ color: rgb(79, 92, 197);
/* oklch */ color: oklch(52.1% 0.163 274.0);
Tailwind
colors: {
  custom: {
    50: '#8b8ad7',
    500: '#4f5cc5',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cc5;
$custom-light: #8b8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cc5",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 233.39,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.16257,
    "h": 274
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#4F5CC5
secondary
#D1CB9F
accent
#CA4EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4F5CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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