#4F54E6#4F54E6

#4F54E6 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.3% C 0.216 H 274.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4F54E6
RGBrgb(79, 84, 230)
HSLhsl(238, 75%, 61%)
HSVhsv(238, 66%, 90%)
CMYKcmyk(65.7%, 63.5%, 0%, 9.8%)
CIE-LABlab(43.82, 42.85, -74.59)
CIE-LCHlch(43.82, 86.02, 299.88°)
OKLaboklab(53.32% 0.0181 -0.2152)
OKLCHoklch(53.32% 0.216 274.8)
XYZxyz(20.6730, 13.7143, 76.4052)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54E6 #E6E14F
analogous
#4FA0E6 #4F54E6 #954FE6
triadic
#4F54E6 #E64F54 #54E64F
tetradic
#4F54E6 #E64FA0 #E6E14F #4FE695
square
#4F54E6 #E64FA0 #E6E14F #4FE695
split-complementary
#4F54E6 #E6954F #A0E64F
monochromatic
#171CA3 #1F25D9 #4F54E6 #8588EE #BABCF5

Accessibility & contrast

On white

5.61
#4F54E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4F54E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54E6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54E6#FFFFFF#000000##FFFFFF
##4F54E61.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f54e6;
/* rgb */ color: rgb(79, 84, 230);
/* oklch */ color: oklch(53.3% 0.216 274.8);
Tailwind
colors: {
  custom: {
    50: '#9184ef',
    500: '#4f54e6',
    950: '#000000',
  },
}
SCSS
$custom: #4f54e6;
$custom-light: #9184ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54e6",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 238.013,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.21593,
    "h": 274.8
  },
  "luminance": 0.13716
}

Semantic roles & 50–950 ramp

primary
#4F54E6
secondary
#E5E3AC
accent
#D10ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F54E6

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

Preview Lab → · Contrast checker → · Palette generator →

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