#4F4DCF#4F4DCF

#4F4DCF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.195 H 277.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4F4DCF
RGBrgb(79, 77, 207)
HSLhsl(241, 58%, 56%)
HSVhsv(241, 63%, 81%)
CMYKcmyk(61.8%, 62.8%, 0%, 18.8%)
CIE-LABlab(40.37, 39.51, -67.08)
CIE-LCHlch(40.37, 77.85, 300.49°)
OKLaboklab(50.22% 0.0252 -0.1932)
OKLCHoklch(50.22% 0.195 277.4)
XYZxyz(17.1372, 11.4737, 60.3309)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4DCF #CDCF4D
analogous
#4D8CCF #4F4DCF #904DCF
triadic
#4F4DCF #CF4F4D #4DCF4F
tetradic
#4F4DCF #CF4D8C #CDCF4D #4DCF90
square
#4F4DCF #CF4D8C #CDCF4D #4DCF90
split-complementary
#4F4DCF #CF904D #8CCF4D
monochromatic
#24227F #312FAF #4F4DCF #7F7DDC #AEADE9

Accessibility & contrast

On white

6.37
#4F4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4F4DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4DCF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4DCF#FFFFFF#000000##FFFFFF
##4F4DCF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f4dcf;
/* rgb */ color: rgb(79, 77, 207);
/* oklch */ color: oklch(50.2% 0.195 277.4);
Tailwind
colors: {
  custom: {
    50: '#8e7fdf',
    500: '#4f4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #4f4dcf;
$custom-light: #8e7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4dcf",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 240.923,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.19483,
    "h": 277.4
  },
  "luminance": 0.11475
}

Semantic roles & 50–950 ramp

primary
#4F4DCF
secondary
#D6D7A1
accent
#E147DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4F4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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