#4F5CC4#4F5CC4

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

Color values

HEX#4F5CC4
RGBrgb(79, 92, 196)
HSLhsl(233, 50%, 54%)
HSVhsv(233, 60%, 77%)
CMYKcmyk(59.7%, 53.1%, 0%, 23.1%)
CIE-LABlab(43.21, 26.55, -56.11)
CIE-LCHlch(43.21, 62.07, 295.33°)
OKLaboklab(52.07% 0.0114 -0.1608)
OKLCHoklch(52.07% 0.161 274)
XYZxyz(17.0121, 13.3008, 53.8847)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CC4 #C4B74F
analogous
#4F97C4 #4F5CC4 #7D4FC4
triadic
#4F5CC4 #C44F5C #5CC44F
tetradic
#4F5CC4 #C44F97 #C4B74F #4FC47D
square
#4F5CC4 #C44F97 #C4B74F #4FC47D
split-complementary
#4F5CC4 #C47D4F #97C44F
monochromatic
#262F72 #3642A0 #4F5CC4 #7D86D3 #ABB1E3

Accessibility & contrast

On white

5.74
#4F5CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4F5CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CC4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CC4#FFFFFF#000000##FFFFFF
##4F5CC41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5cc4;
/* rgb */ color: rgb(79, 92, 196);
/* oklch */ color: oklch(52.1% 0.161 274.0);
Tailwind
colors: {
  custom: {
    50: '#8b8ad6',
    500: '#4f5cc4',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cc4;
$custom-light: #8b8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cc4",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 233.333,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.16118,
    "h": 274
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#4F5CC4
secondary
#D0CB9E
accent
#CA4ED9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4F5CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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