#4F5AE1#4F5AE1

#4F5AE1 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 53.9% C 0.203 H 273.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4F5AE1
RGBrgb(79, 90, 225)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 65%, 88%)
CMYKcmyk(64.9%, 60%, 0%, 11.8%)
CIE-LABlab(44.81, 37.56, -70.13)
CIE-LCHlch(44.81, 79.56, 298.17°)
OKLaboklab(53.93% 0.0137 -0.202)
OKLCHoklch(53.93% 0.203 273.9)
XYZxyz(20.4667, 14.4090, 72.9222)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5AE1 #E1D64F
analogous
#4FA3E1 #4F5AE1 #8D4FE1
triadic
#4F5AE1 #E14F5A #5AE14F
tetradic
#4F5AE1 #E14FA3 #E1D64F #4FE18D
square
#4F5AE1 #E14FA3 #E1D64F #4FE18D
split-complementary
#4F5AE1 #E18D4F #A3E14F
monochromatic
#1A249B #2330CF #4F5AE1 #838BEA #B8BCF3

Accessibility & contrast

On white

5.41
#4F5AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4F5AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5AE1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5AE1#FFFFFF#000000##FFFFFF
##4F5AE11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0064DE
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5ae1;
/* rgb */ color: rgb(79, 90, 225);
/* oklch */ color: oklch(53.9% 0.203 273.9);
Tailwind
colors: {
  custom: {
    50: '#9088eb',
    500: '#4f5ae1',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ae1;
$custom-light: #9088eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ae1",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 235.479,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53926,
    "c": 0.20251,
    "h": 273.9
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#4F5AE1
secondary
#E2DEAA
accent
#E03AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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