#4F5BE0#4F5BE0

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

Color values

HEX#4F5BE0
RGBrgb(79, 91, 224)
HSLhsl(235, 70%, 59%)
HSVhsv(235, 65%, 88%)
CMYKcmyk(64.7%, 59.4%, 0%, 12.2%)
CIE-LABlab(44.98, 36.61, -69.30)
CIE-LCHlch(44.98, 78.38, 297.85°)
OKLaboklab(54.02% 0.0129 -0.1996)
OKLCHoklch(54.02% 0.2 273.7)
XYZxyz(20.4156, 14.5245, 72.2342)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BE0 #E0D44F
analogous
#4FA4E0 #4F5BE0 #8B4FE0
triadic
#4F5BE0 #E04F5B #5BE04F
tetradic
#4F5BE0 #E04FA4 #E0D44F #4FE08B
square
#4F5BE0 #E04FA4 #E0D44F #4FE08B
split-complementary
#4F5BE0 #E08B4F #A4E04F
monochromatic
#1B269A #2432CE #4F5BE0 #838BE9 #B7BCF2

Accessibility & contrast

On white

5.38
#4F5BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4F5BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BE0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BE0#FFFFFF#000000##FFFFFF
##4F5BE01.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5be0;
/* rgb */ color: rgb(79, 91, 224);
/* oklch */ color: oklch(54.0% 0.200 273.7);
Tailwind
colors: {
  custom: {
    50: '#9089eb',
    500: '#4f5be0',
    950: '#000000',
  },
}
SCSS
$custom: #4f5be0;
$custom-light: #9089eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5be0",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 224
  },
  "hsl": {
    "h": 235.034,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.20001,
    "h": 273.7
  },
  "luminance": 0.14526
}

Semantic roles & 50–950 ramp

primary
#4F5BE0
secondary
#E2DDA9
accent
#DE3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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