#4F4DC8#4F4DC8

#4F4DC8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.6% C 0.186 H 277.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4F4DC8
RGBrgb(79, 77, 200)
HSLhsl(241, 53%, 54%)
HSVhsv(241, 62%, 78%)
CMYKcmyk(60.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(39.81, 37.22, -63.94)
CIE-LCHlch(39.81, 73.98, 300.20°)
OKLaboklab(49.64% 0.0256 -0.1839)
OKLCHoklch(49.64% 0.186 277.9)
XYZxyz(16.3003, 11.1389, 55.9234)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4DC8 #C6C84D
analogous
#4D88C8 #4F4DC8 #8D4DC8
triadic
#4F4DC8 #C84F4D #4DC84F
tetradic
#4F4DC8 #C84D88 #C6C84D #4DC88D
square
#4F4DC8 #C84D88 #C6C84D #4DC88D
split-complementary
#4F4DC8 #C88D4D #88C84D
monochromatic
#262476 #3533A5 #4F4DC8 #7D7CD6 #ABABE5

Accessibility & contrast

On white

6.51
#4F4DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4F4DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4DC8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4DC8#FFFFFF#000000##FFFFFF
##4F4DC81.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f4dc8;
/* rgb */ color: rgb(79, 77, 200);
/* oklch */ color: oklch(49.6% 0.186 277.9);
Tailwind
colors: {
  custom: {
    50: '#8c7fda',
    500: '#4f4dc8',
    950: '#000000',
  },
}
SCSS
$custom: #4f4dc8;
$custom-light: #8c7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4dc8",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 240.976,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49639,
    "c": 0.18573,
    "h": 277.9
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#4F4DC8
secondary
#D2D29E
accent
#DC4CDA
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F4DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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