#4F5CC2#4F5CC2

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

Color values

HEX#4F5CC2
RGBrgb(79, 92, 194)
HSLhsl(233, 49%, 54%)
HSVhsv(233, 59%, 76%)
CMYKcmyk(59.3%, 52.6%, 0%, 23.9%)
CIE-LABlab(43.08, 25.88, -55.16)
CIE-LCHlch(43.08, 60.93, 295.13°)
OKLaboklab(51.93% 0.0112 -0.158)
OKLCHoklch(51.93% 0.158 274.1)
XYZxyz(16.7860, 13.2103, 52.6938)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CC2 #C2B54F
analogous
#4F95C2 #4F5CC2 #7B4FC2
triadic
#4F5CC2 #C24F5C #5CC24F
tetradic
#4F5CC2 #C24F95 #C2B54F #4FC27B
square
#4F5CC2 #C24F95 #C2B54F #4FC27B
split-complementary
#4F5CC2 #C27B4F #95C24F
monochromatic
#272F70 #37429D #4F5CC2 #7C86D2 #AAB0E2

Accessibility & contrast

On white

5.77
#4F5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4F5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CC2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CC2#FFFFFF#000000##FFFFFF
##4F5CC21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f5cc2;
/* rgb */ color: rgb(79, 92, 194);
/* oklch */ color: oklch(51.9% 0.158 274.1);
Tailwind
colors: {
  custom: {
    50: '#8a8ad5',
    500: '#4f5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cc2;
$custom-light: #8a8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cc2",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 233.217,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.15841,
    "h": 274.1
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#4F5CC2
secondary
#CFC99E
accent
#C950D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4F5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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