#4F4FE6#4F4FE6

#4F4FE6 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.5% C 0.222 H 275.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4F4FE6
RGBrgb(79, 79, 230)
HSLhsl(240, 75%, 61%)
HSVhsv(240, 66%, 90%)
CMYKcmyk(65.7%, 65.7%, 0%, 9.8%)
CIE-LABlab(42.71, 45.80, -76.40)
CIE-LCHlch(42.71, 89.08, 300.94°)
OKLaboklab(52.51% 0.0217 -0.2205)
OKLCHoklch(52.51% 0.222 275.6)
XYZxyz(20.2987, 12.9656, 76.2805)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FE6 #E6E64F
analogous
#4F9AE6 #4F4FE6 #9A4FE6
triadic
#4F4FE6 #E64F4F #4FE64F
tetradic
#4F4FE6 #E64F9A #E6E64F #4FE69A
square
#4F4FE6 #E64F9A #E6E64F #4FE69A
split-complementary
#4F4FE6 #E69A4F #9AE64F
monochromatic
#1717A3 #1F1FD9 #4F4FE6 #8585EE #BABAF5

Accessibility & contrast

On white

5.84
#4F4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4F4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FE6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FE6#FFFFFF#000000##FFFFFF
##4F4FE61.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f4fe6;
/* rgb */ color: rgb(79, 79, 230);
/* oklch */ color: oklch(52.5% 0.222 275.6);
Tailwind
colors: {
  custom: {
    50: '#9281ef',
    500: '#4f4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fe6;
$custom-light: #9281ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fe6",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 240,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.22157,
    "h": 275.6
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#4F4FE6
secondary
#E5E5AC
accent
#D70ED7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4F4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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