#4F4ECF#4F4ECF

#4F4ECF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.4% C 0.194 H 277.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4F4ECF
RGBrgb(79, 78, 207)
HSLhsl(240, 57%, 56%)
HSVhsv(240, 62%, 81%)
CMYKcmyk(61.8%, 62.3%, 0%, 18.8%)
CIE-LABlab(40.60, 38.90, -66.71)
CIE-LCHlch(40.60, 77.22, 300.25°)
OKLaboklab(50.39% 0.0244 -0.1921)
OKLCHoklch(50.39% 0.194 277.2)
XYZxyz(17.2077, 11.6147, 60.3544)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4ECF #CECF4E
analogous
#4E8DCF #4F4ECF #8F4ECF
triadic
#4F4ECF #CF4F4E #4ECF4F
tetradic
#4F4ECF #CF4E8D #CECF4E #4ECF8F
square
#4F4ECF #CF4E8D #CECF4E #4ECF8F
split-complementary
#4F4ECF #CF8F4E #8DCF4E
monochromatic
#232380 #3130B0 #4F4ECF #7F7EDC #AFAEE9

Accessibility & contrast

On white

6.32
#4F4ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4F4ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4ECF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4ECF#FFFFFF#000000##FFFFFF
##4F4ECF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f4ecf;
/* rgb */ color: rgb(79, 78, 207);
/* oklch */ color: oklch(50.4% 0.194 277.2);
Tailwind
colors: {
  custom: {
    50: '#8e80df',
    500: '#4f4ecf',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ecf;
$custom-light: #8e80df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ecf",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 240.465,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50385,
    "c": 0.19362,
    "h": 277.2
  },
  "luminance": 0.11616
}

Semantic roles & 50–950 ramp

primary
#4F4ECF
secondary
#D7D7A2
accent
#E147DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F4ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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