#4F5DC2#4F5DC2

#4F5DC2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.157 H 273.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4F5DC2
RGBrgb(79, 93, 194)
HSLhsl(233, 49%, 54%)
HSVhsv(233, 59%, 76%)
CMYKcmyk(59.3%, 52.1%, 0%, 23.9%)
CIE-LABlab(43.34, 25.25, -54.75)
CIE-LCHlch(43.34, 60.29, 294.76°)
OKLaboklab(52.12% 0.0102 -0.1568)
OKLCHoklch(52.12% 0.157 273.7)
XYZxyz(16.8732, 13.3847, 52.7228)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DC2 #C2B44F
analogous
#4F96C2 #4F5DC2 #7A4FC2
triadic
#4F5DC2 #C24F5D #5DC24F
tetradic
#4F5DC2 #C24F96 #C2B44F #4FC27A
square
#4F5DC2 #C24F96 #C2B44F #4FC27A
split-complementary
#4F5DC2 #C27A4F #96C24F
monochromatic
#273070 #37439D #4F5DC2 #7C87D2 #AAB1E2

Accessibility & contrast

On white

5.71
#4F5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4F5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DC2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DC2#FFFFFF#000000##FFFFFF
##4F5DC21.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236CC6
Deuteranopia (green-blind)
#0062C0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f5dc2;
/* rgb */ color: rgb(79, 93, 194);
/* oklch */ color: oklch(52.1% 0.157 273.7);
Tailwind
colors: {
  custom: {
    50: '#8a8ad5',
    500: '#4f5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5dc2;
$custom-light: #8a8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5dc2",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 232.696,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.1571,
    "h": 273.7
  },
  "luminance": 0.13386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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