#4F5BC2#4F5BC2

#4F5BC2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.160 H 274.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4F5BC2
RGBrgb(79, 91, 194)
HSLhsl(234, 49%, 54%)
HSVhsv(234, 59%, 76%)
CMYKcmyk(59.3%, 53.1%, 0%, 23.9%)
CIE-LABlab(42.82, 26.51, -55.58)
CIE-LCHlch(42.82, 61.58, 295.50°)
OKLaboklab(51.74% 0.0122 -0.1592)
OKLCHoklch(51.74% 0.16 274.4)
XYZxyz(16.7000, 13.0382, 52.6651)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BC2 #C2B64F
analogous
#4F94C2 #4F5BC2 #7C4FC2
triadic
#4F5BC2 #C24F5B #5BC24F
tetradic
#4F5BC2 #C24F94 #C2B64F #4FC27C
square
#4F5BC2 #C24F94 #C2B64F #4FC27C
split-complementary
#4F5BC2 #C27C4F #94C24F
monochromatic
#272E70 #37419D #4F5BC2 #7C85D2 #AAB0E2

Accessibility & contrast

On white

5.82
#4F5BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4F5BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BC2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BC2#FFFFFF#000000##FFFFFF
##4F5BC21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f5bc2;
/* rgb */ color: rgb(79, 91, 194);
/* oklch */ color: oklch(51.7% 0.160 274.4);
Tailwind
colors: {
  custom: {
    50: '#8b89d5',
    500: '#4f5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bc2;
$custom-light: #8b89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bc2",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 233.739,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51735,
    "c": 0.15972,
    "h": 274.4
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#4F5BC2
secondary
#CFCA9E
accent
#CA50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4F5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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