#4F5BE1#4F5BE1

#4F5BE1 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.1% C 0.201 H 273.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4F5BE1
RGBrgb(79, 91, 225)
HSLhsl(235, 71%, 60%)
HSVhsv(235, 65%, 88%)
CMYKcmyk(64.9%, 59.6%, 0%, 11.8%)
CIE-LABlab(45.05, 36.95, -69.74)
CIE-LCHlch(45.05, 78.93, 297.91°)
OKLaboklab(54.1% 0.0129 -0.2009)
OKLCHoklch(54.1% 0.201 273.7)
XYZxyz(20.5516, 14.5789, 72.9505)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BE1 #E1D54F
analogous
#4FA4E1 #4F5BE1 #8C4FE1
triadic
#4F5BE1 #E14F5B #5BE14F
tetradic
#4F5BE1 #E14FA4 #E1D54F #4FE18C
square
#4F5BE1 #E14FA4 #E1D54F #4FE18C
split-complementary
#4F5BE1 #E18C4F #A4E14F
monochromatic
#1A259B #2332CF #4F5BE1 #838CEA #B8BCF3

Accessibility & contrast

On white

5.36
#4F5BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4F5BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BE1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BE1#FFFFFF#000000##FFFFFF
##4F5BE11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5be1;
/* rgb */ color: rgb(79, 91, 225);
/* oklch */ color: oklch(54.1% 0.201 273.7);
Tailwind
colors: {
  custom: {
    50: '#9089eb',
    500: '#4f5be1',
    950: '#000000',
  },
}
SCSS
$custom: #4f5be1;
$custom-light: #9089eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5be1",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 235.068,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54102,
    "c": 0.20131,
    "h": 273.7
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F5BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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