#4F4FCE#4F4FCE

#4F4FCE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.191 H 277.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4F4FCE
RGBrgb(79, 79, 206)
HSLhsl(240, 56%, 56%)
HSVhsv(240, 62%, 81%)
CMYKcmyk(61.7%, 61.7%, 0%, 19.2%)
CIE-LABlab(40.75, 37.97, -65.88)
CIE-LCHlch(40.75, 76.04, 299.95°)
OKLaboklab(50.47% 0.0236 -0.1897)
OKLCHoklch(50.47% 0.191 277.1)
XYZxyz(17.1574, 11.7091, 59.7365)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FCE #CECE4F
analogous
#4F8ECE #4F4FCE #8E4FCE
triadic
#4F4FCE #CE4F4F #4FCE4F
tetradic
#4F4FCE #CE4F8E #CECE4F #4FCE8E
square
#4F4FCE #CE4F8E #CECE4F #4FCE8E
split-complementary
#4F4FCE #CE8E4F #8ECE4F
monochromatic
#23237F #3131AF #4F4FCE #7F7FDB #AFAFE9

Accessibility & contrast

On white

6.28
#4F4FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4F4FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FCE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FCE#FFFFFF#000000##FFFFFF
##4F4FCE1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f4fce;
/* rgb */ color: rgb(79, 79, 206);
/* oklch */ color: oklch(50.5% 0.191 277.1);
Tailwind
colors: {
  custom: {
    50: '#8d80de',
    500: '#4f4fce',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fce;
$custom-light: #8d80de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fce",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 240,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.19111,
    "h": 277.1
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F4FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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