#4F5AE2#4F5AE2

#4F5AE2 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.0% C 0.204 H 273.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4F5AE2
RGBrgb(79, 90, 226)
HSLhsl(236, 72%, 60%)
HSVhsv(236, 65%, 89%)
CMYKcmyk(65%, 60.2%, 0%, 11.4%)
CIE-LABlab(44.89, 37.90, -70.57)
CIE-LCHlch(44.89, 80.10, 298.23°)
OKLaboklab(54.01% 0.0136 -0.2033)
OKLCHoklch(54.01% 0.204 273.8)
XYZxyz(20.6035, 14.4638, 73.6428)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5AE2 #E2D74F
analogous
#4FA4E2 #4F5AE2 #8D4FE2
triadic
#4F5AE2 #E24F5A #5AE24F
tetradic
#4F5AE2 #E24FA4 #E2D74F #4FE28D
square
#4F5AE2 #E24FA4 #E2D74F #4FE28D
split-complementary
#4F5AE2 #E28D4F #A4E24F
monochromatic
#1A249D #2230D1 #4F5AE2 #848BEB #B8BDF3

Accessibility & contrast

On white

5.39
#4F5AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4F5AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5AE2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5AE2#FFFFFF#000000##FFFFFF
##4F5AE21.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5ae2;
/* rgb */ color: rgb(79, 90, 226);
/* oklch */ color: oklch(54.0% 0.204 273.8);
Tailwind
colors: {
  custom: {
    50: '#9088ec',
    500: '#4f5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ae2;
$custom-light: #9088ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ae2",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 235.51,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.20381,
    "h": 273.8
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

primary
#4F5AE2
secondary
#E3DFAA
accent
#E139EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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