#4F4FCF#4F4FCF

#4F4FCF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.192 H 277.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4F4FCF
RGBrgb(79, 79, 207)
HSLhsl(240, 57%, 56%)
HSVhsv(240, 62%, 81%)
CMYKcmyk(61.8%, 61.8%, 0%, 18.8%)
CIE-LABlab(40.83, 38.30, -66.33)
CIE-LCHlch(40.83, 76.59, 300.00°)
OKLaboklab(50.56% 0.0235 -0.191)
OKLCHoklch(50.56% 0.192 277)
XYZxyz(17.2793, 11.7579, 60.3783)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FCF #CFCF4F
analogous
#4F8FCF #4F4FCF #8F4FCF
triadic
#4F4FCF #CF4F4F #4FCF4F
tetradic
#4F4FCF #CF4F8F #CFCF4F #4FCF8F
square
#4F4FCF #CF4F8F #CFCF4F #4FCF8F
split-complementary
#4F4FCF #CF8F4F #8FCF4F
monochromatic
#232381 #3030B1 #4F4FCF #7F7FDC #AFAFE9

Accessibility & contrast

On white

6.27
#4F4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4F4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FCF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FCF#FFFFFF#000000##FFFFFF
##4F4FCF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f4fcf;
/* rgb */ color: rgb(79, 79, 207);
/* oklch */ color: oklch(50.6% 0.192 277.0);
Tailwind
colors: {
  custom: {
    50: '#8e80df',
    500: '#4f4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fcf;
$custom-light: #8e80df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fcf",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.19241,
    "h": 277
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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