#4F4FD2#4F4FD2

#4F4FD2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.196 H 276.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4F4FD2
RGBrgb(79, 79, 210)
HSLhsl(240, 59%, 57%)
HSVhsv(240, 62%, 82%)
CMYKcmyk(62.4%, 62.4%, 0%, 17.6%)
CIE-LABlab(41.07, 39.28, -67.67)
CIE-LCHlch(41.07, 78.25, 300.13°)
OKLaboklab(50.8% 0.0233 -0.1949)
OKLCHoklch(50.8% 0.196 276.8)
XYZxyz(17.6495, 11.9060, 62.3283)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FD2 #D2D24F
analogous
#4F91D2 #4F4FD2 #914FD2
triadic
#4F4FD2 #D24F4F #4FD24F
tetradic
#4F4FD2 #D24F91 #D2D24F #4FD291
square
#4F4FD2 #D24F91 #D2D24F #4FD291
split-complementary
#4F4FD2 #D2914F #91D24F
monochromatic
#222285 #2E2EB5 #4F4FD2 #8080DE #B0B0EB

Accessibility & contrast

On white

6.21
#4F4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4F4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FD2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FD2#FFFFFF#000000##FFFFFF
##4F4FD21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f4fd2;
/* rgb */ color: rgb(79, 79, 210);
/* oklch */ color: oklch(50.8% 0.196 276.8);
Tailwind
colors: {
  custom: {
    50: '#8e81e1',
    500: '#4f4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fd2;
$custom-light: #8e81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fd2",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 240,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.19629,
    "h": 276.8
  },
  "luminance": 0.11907
}

Semantic roles & 50–950 ramp

primary
#4F4FD2
secondary
#D9D9A4
accent
#E245E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4F4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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