#4F54E8#4F54E8

#4F54E8 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.218 H 274.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4F54E8
RGBrgb(79, 84, 232)
HSLhsl(238, 77%, 61%)
HSVhsv(238, 66%, 91%)
CMYKcmyk(65.9%, 63.8%, 0%, 9%)
CIE-LABlab(43.98, 43.51, -75.45)
CIE-LCHlch(43.98, 87.10, 299.97°)
OKLaboklab(53.49% 0.0179 -0.2177)
OKLCHoklch(53.49% 0.218 274.7)
XYZxyz(20.9554, 13.8272, 77.8929)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54E8 #E8E34F
analogous
#4FA0E8 #4F54E8 #964FE8
triadic
#4F54E8 #E84F54 #54E84F
tetradic
#4F54E8 #E84FA0 #E8E34F #4FE896
square
#4F54E8 #E84FA0 #E8E34F #4FE896
split-complementary
#4F54E8 #E8964F #A0E84F
monochromatic
#161BA7 #1D23DD #4F54E8 #8589EF #BBBDF6

Accessibility & contrast

On white

5.58
#4F54E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4F54E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54E8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54E8#FFFFFF#000000##FFFFFF
##4F54E81.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f54e8;
/* rgb */ color: rgb(79, 84, 232);
/* oklch */ color: oklch(53.5% 0.218 274.7);
Tailwind
colors: {
  custom: {
    50: '#9284f0',
    500: '#4f54e8',
    950: '#000000',
  },
}
SCSS
$custom: #4f54e8;
$custom-light: #9284f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54e8",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 238.039,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.21844,
    "h": 274.7
  },
  "luminance": 0.13829
}

Semantic roles & 50–950 ramp

primary
#4F54E8
secondary
#E6E4AD
accent
#D20CD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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