#4F5CC1#4F5CC1

#4F5CC1 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.157 H 274.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4F5CC1
RGBrgb(79, 92, 193)
HSLhsl(233, 48%, 53%)
HSVhsv(233, 59%, 76%)
CMYKcmyk(59.1%, 52.3%, 0%, 24.3%)
CIE-LABlab(43.01, 25.54, -54.69)
CIE-LCHlch(43.01, 60.36, 295.03°)
OKLaboklab(51.86% 0.0112 -0.1566)
OKLCHoklch(51.86% 0.157 274.1)
XYZxyz(16.6741, 13.1655, 52.1043)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CC1 #C1B44F
analogous
#4F95C1 #4F5CC1 #7B4FC1
triadic
#4F5CC1 #C14F5C #5CC14F
tetradic
#4F5CC1 #C14F95 #C1B44F #4FC17B
square
#4F5CC1 #C14F95 #C1B44F #4FC17B
split-complementary
#4F5CC1 #C17B4F #95C14F
monochromatic
#272F6F #37429C #4F5CC1 #7C86D1 #AAB0E1

Accessibility & contrast

On white

5.78
#4F5CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4F5CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CC1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CC1#FFFFFF#000000##FFFFFF
##4F5CC11.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216BC5
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f5cc1;
/* rgb */ color: rgb(79, 92, 193);
/* oklch */ color: oklch(51.9% 0.157 274.1);
Tailwind
colors: {
  custom: {
    50: '#8a8ad4',
    500: '#4f5cc1',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cc1;
$custom-light: #8a8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cc1",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 193
  },
  "hsl": {
    "h": 233.158,
    "s": 47.899,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.15702,
    "h": 274.1
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#4F5CC1
secondary
#CEC99D
accent
#C850D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4F5CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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