#4F4FDF#4F4FDF

#4F4FDF is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.9% C 0.213 H 276.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4F4FDF
RGBrgb(79, 79, 223)
HSLhsl(240, 69%, 59%)
HSVhsv(240, 65%, 87%)
CMYKcmyk(64.6%, 64.6%, 0%, 12.5%)
CIE-LABlab(42.12, 43.53, -73.39)
CIE-LCHlch(42.12, 85.33, 300.67°)
OKLaboklab(51.9% 0.0223 -0.2117)
OKLCHoklch(51.9% 0.213 276)
XYZxyz(19.3354, 12.5803, 71.2070)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FDF #DFDF4F
analogous
#4F97DF #4F4FDF #974FDF
triadic
#4F4FDF #DF4F4F #4FDF4F
tetradic
#4F4FDF #DF4F97 #DFDF4F #4FDF97
square
#4F4FDF #DF4F97 #DFDF4F #4FDF97
split-complementary
#4F4FDF #DF974F #97DF4F
monochromatic
#1C1C98 #2525CC #4F4FDF #8383E8 #B7B7F2

Accessibility & contrast

On white

5.97
#4F4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4F4FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FDF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FDF#FFFFFF#000000##FFFFFF
##4F4FDF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f4fdf;
/* rgb */ color: rgb(79, 79, 223);
/* oklch */ color: oklch(51.9% 0.213 276.0);
Tailwind
colors: {
  custom: {
    50: '#9081ea',
    500: '#4f4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fdf;
$custom-light: #9081ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fdf",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 240,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.21285,
    "h": 276
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#4F4FDF
secondary
#E1E1A9
accent
#EC3CEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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