#4F5BE4#4F5BE4

#4F5BE4 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.3% C 0.205 H 273.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4F5BE4
RGBrgb(79, 91, 228)
HSLhsl(235, 73%, 60%)
HSVhsv(235, 65%, 89%)
CMYKcmyk(65.4%, 60.1%, 0%, 10.6%)
CIE-LABlab(45.28, 37.96, -71.07)
CIE-LCHlch(45.28, 80.57, 298.11°)
OKLaboklab(54.34% 0.0128 -0.2048)
OKLCHoklch(54.34% 0.205 273.6)
XYZxyz(20.9645, 14.7440, 75.1248)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BE4 #E4D84F
analogous
#4FA5E4 #4F5BE4 #8E4FE4
triadic
#4F5BE4 #E44F5B #5BE44F
tetradic
#4F5BE4 #E44FA5 #E4D84F #4FE48E
square
#4F5BE4 #E44FA5 #E4D84F #4FE48E
split-complementary
#4F5BE4 #E48E4F #A5E44F
monochromatic
#1923A0 #212FD5 #4F5BE4 #848CEC #B9BEF4

Accessibility & contrast

On white

5.32
#4F5BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4F5BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BE4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BE4#FFFFFF#000000##FFFFFF
##4F5BE41.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5be4;
/* rgb */ color: rgb(79, 91, 228);
/* oklch */ color: oklch(54.3% 0.205 273.6);
Tailwind
colors: {
  custom: {
    50: '#9189ed',
    500: '#4f5be4',
    950: '#000000',
  },
}
SCSS
$custom: #4f5be4;
$custom-light: #9189ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5be4",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 235.168,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.2052,
    "h": 273.6
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#4F5BE4
secondary
#E4DFAB
accent
#C610D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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