#4F4EC8#4F4EC8

#4F4EC8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.8% C 0.184 H 277.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4F4EC8
RGBrgb(79, 78, 200)
HSLhsl(240, 53%, 55%)
HSVhsv(240, 61%, 78%)
CMYKcmyk(60.5%, 61%, 0%, 21.6%)
CIE-LABlab(40.05, 36.61, -63.56)
CIE-LCHlch(40.05, 73.34, 299.94°)
OKLaboklab(49.81% 0.0247 -0.1828)
OKLCHoklch(49.81% 0.184 277.7)
XYZxyz(16.3708, 11.2799, 55.9469)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4EC8 #C7C84E
analogous
#4E8AC8 #4F4EC8 #8C4EC8
triadic
#4F4EC8 #C84F4E #4EC84F
tetradic
#4F4EC8 #C84E8A #C7C84E #4EC88C
square
#4F4EC8 #C84E8A #C7C84E #4EC88C
split-complementary
#4F4EC8 #C88C4E #8AC84E
monochromatic
#262577 #3433A5 #4F4EC8 #7D7DD7 #ACABE5

Accessibility & contrast

On white

6.45
#4F4EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4F4EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4EC8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4EC8#FFFFFF#000000##FFFFFF
##4F4EC81.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f4ec8;
/* rgb */ color: rgb(79, 78, 200);
/* oklch */ color: oklch(49.8% 0.184 277.7);
Tailwind
colors: {
  custom: {
    50: '#8c80da',
    500: '#4f4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ec8;
$custom-light: #8c80da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ec8",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 240.492,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49811,
    "c": 0.18449,
    "h": 277.7
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#4F4EC8
secondary
#D2D39F
accent
#DC4CDB
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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