#4F54E1#4F54E1

#4F54E1 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.210 H 275.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4F54E1
RGBrgb(79, 84, 225)
HSLhsl(238, 71%, 60%)
HSVhsv(238, 65%, 88%)
CMYKcmyk(64.9%, 62.7%, 0%, 11.8%)
CIE-LABlab(43.41, 41.20, -72.41)
CIE-LCHlch(43.41, 83.31, 299.64°)
OKLaboklab(52.9% 0.0184 -0.2088)
OKLCHoklch(52.9% 0.21 275)
XYZxyz(19.9809, 13.4374, 72.7603)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54E1 #E1DC4F
analogous
#4F9DE1 #4F54E1 #934FE1
triadic
#4F54E1 #E14F54 #54E14F
tetradic
#4F54E1 #E14F9D #E1DC4F #4FE193
square
#4F54E1 #E14F9D #E1DC4F #4FE193
split-complementary
#4F54E1 #E1934F #9DE14F
monochromatic
#1A1F9B #2329CF #4F54E1 #8387EA #B8BAF3

Accessibility & contrast

On white

5.69
#4F54E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4F54E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54E1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54E1#FFFFFF#000000##FFFFFF
##4F54E11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f54e1;
/* rgb */ color: rgb(79, 84, 225);
/* oklch */ color: oklch(52.9% 0.210 275.0);
Tailwind
colors: {
  custom: {
    50: '#9084eb',
    500: '#4f54e1',
    950: '#000000',
  },
}
SCSS
$custom: #4f54e1;
$custom-light: #9084eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54e1",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 237.945,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52897,
    "c": 0.2096,
    "h": 275
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#4F54E1
secondary
#E2E0AA
accent
#E73AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F54E1

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

Preview Lab → · Contrast checker → · Palette generator →

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