#4F4FE8#4F4FE8

#4F4FE8 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.224 H 275.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4F4FE8
RGBrgb(79, 79, 232)
HSLhsl(240, 77%, 61%)
HSVhsv(240, 66%, 91%)
CMYKcmyk(65.9%, 65.9%, 0%, 9%)
CIE-LABlab(42.88, 46.45, -77.26)
CIE-LCHlch(42.88, 90.14, 301.02°)
OKLaboklab(52.69% 0.0215 -0.223)
OKLCHoklch(52.69% 0.224 275.5)
XYZxyz(20.5811, 13.0786, 77.7681)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FE8 #E8E84F
analogous
#4F9BE8 #4F4FE8 #9B4FE8
triadic
#4F4FE8 #E84F4F #4FE84F
tetradic
#4F4FE8 #E84F9B #E8E84F #4FE89B
square
#4F4FE8 #E84F9B #E8E84F #4FE89B
split-complementary
#4F4FE8 #E89B4F #9BE84F
monochromatic
#1616A7 #1D1DDD #4F4FE8 #8585EF #BBBBF6

Accessibility & contrast

On white

5.81
#4F4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4F4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FE8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FE8#FFFFFF#000000##FFFFFF
##4F4FE81.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#005EE5
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f4fe8;
/* rgb */ color: rgb(79, 79, 232);
/* oklch */ color: oklch(52.7% 0.224 275.5);
Tailwind
colors: {
  custom: {
    50: '#9281f1',
    500: '#4f4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fe8;
$custom-light: #9281f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fe8",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 240,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.22404,
    "h": 275.5
  },
  "luminance": 0.1308
}

Semantic roles & 50–950 ramp

primary
#4F4FE8
secondary
#E6E6AD
accent
#D90CD9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4F4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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