#4F4FD5#4F4FD5

#4F4FD5 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.1% C 0.200 H 276.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4F4FD5
RGBrgb(79, 79, 213)
HSLhsl(240, 61%, 57%)
HSVhsv(240, 63%, 84%)
CMYKcmyk(62.9%, 62.9%, 0%, 16.5%)
CIE-LABlab(41.31, 40.26, -69.00)
CIE-LCHlch(41.31, 79.89, 300.26°)
OKLaboklab(51.05% 0.0231 -0.1988)
OKLCHoklch(51.05% 0.2 276.6)
XYZxyz(18.0268, 12.0569, 64.3151)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FD5 #D5D54F
analogous
#4F92D5 #4F4FD5 #924FD5
triadic
#4F4FD5 #D54F4F #4FD54F
tetradic
#4F4FD5 #D54F92 #D5D54F #4FD592
square
#4F4FD5 #D54F92 #D5D54F #4FD592
split-complementary
#4F4FD5 #D5924F #92D54F
monochromatic
#212189 #2C2CBA #4F4FD5 #8080E1 #B2B2ED

Accessibility & contrast

On white

6.16
#4F4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4F4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FD5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FD5#FFFFFF#000000##FFFFFF
##4F4FD51.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f4fd5;
/* rgb */ color: rgb(79, 79, 213);
/* oklch */ color: oklch(51.1% 0.200 276.6);
Tailwind
colors: {
  custom: {
    50: '#8f81e3',
    500: '#4f4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fd5;
$custom-light: #8f81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fd5",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 240,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.20016,
    "h": 276.6
  },
  "luminance": 0.12058
}

Semantic roles & 50–950 ramp

primary
#4F4FD5
secondary
#DBDBA5
accent
#E543E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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