#4F5AEB#4F5AEB

#4F5AEB is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.7% C 0.215 H 273.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4F5AEB
RGBrgb(79, 90, 235)
HSLhsl(236, 80%, 62%)
HSVhsv(236, 66%, 92%)
CMYKcmyk(66.4%, 61.7%, 0%, 7.8%)
CIE-LABlab(45.59, 40.90, -74.51)
CIE-LCHlch(45.59, 85.00, 298.76°)
OKLaboklab(54.74% 0.0133 -0.2149)
OKLCHoklch(54.74% 0.215 273.5)
XYZxyz(21.8710, 14.9708, 80.3182)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5AEB #EBE04F
analogous
#4FA8EB #4F5AEB #924FEB
triadic
#4F5AEB #EB4F5A #5AEB4F
tetradic
#4F5AEB #EB4FA8 #EBE04F #4FEB92
square
#4F5AEB #EB4FA8 #EBE04F #4FEB92
split-complementary
#4F5AEB #EB924F #A8EB4F
monochromatic
#141EAC #1A28E3 #4F5AEB #868EF1 #BDC1F7

Accessibility & contrast

On white

5.26
#4F5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4F5AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5AEB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5AEB#FFFFFF#000000##FFFFFF
##4F5AEB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f5aeb;
/* rgb */ color: rgb(79, 90, 235);
/* oklch */ color: oklch(54.7% 0.215 273.5);
Tailwind
colors: {
  custom: {
    50: '#9289f2',
    500: '#4f5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #4f5aeb;
$custom-light: #9289f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5aeb",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 235.769,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.21532,
    "h": 273.5
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#4F5AEB
secondary
#E8E4AE
accent
#CD0ADC
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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