#4F4FD4#4F4FD4

#4F4FD4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.0% C 0.199 H 276.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4F4FD4
RGBrgb(79, 79, 212)
HSLhsl(240, 61%, 57%)
HSVhsv(240, 63%, 83%)
CMYKcmyk(62.7%, 62.7%, 0%, 16.9%)
CIE-LABlab(41.23, 39.94, -68.56)
CIE-LCHlch(41.23, 79.34, 300.22°)
OKLaboklab(50.97% 0.0232 -0.1975)
OKLCHoklch(50.97% 0.199 276.7)
XYZxyz(17.9002, 12.0062, 63.6487)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FD4 #D4D44F
analogous
#4F92D4 #4F4FD4 #924FD4
triadic
#4F4FD4 #D44F4F #4FD44F
tetradic
#4F4FD4 #D44F92 #D4D44F #4FD492
square
#4F4FD4 #D44F92 #D4D44F #4FD492
split-complementary
#4F4FD4 #D4924F #92D44F
monochromatic
#212187 #2D2DB9 #4F4FD4 #8080E0 #B1B1EC

Accessibility & contrast

On white

6.17
#4F4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4F4FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FD4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FD4#FFFFFF#000000##FFFFFF
##4F4FD41.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f4fd4;
/* rgb */ color: rgb(79, 79, 212);
/* oklch */ color: oklch(51.0% 0.199 276.7);
Tailwind
colors: {
  custom: {
    50: '#8e81e2',
    500: '#4f4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fd4;
$custom-light: #8e81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fd4",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 240,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.19887,
    "h": 276.7
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#4F4FD4
secondary
#DADAA4
accent
#E444E4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #4F4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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