#4F5BE6#4F5BE6

#4F5BE6 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.5% C 0.208 H 273.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4F5BE6
RGBrgb(79, 91, 230)
HSLhsl(235, 75%, 61%)
HSVhsv(235, 66%, 90%)
CMYKcmyk(65.7%, 60.4%, 0%, 9.8%)
CIE-LABlab(45.44, 38.63, -71.95)
CIE-LCHlch(45.44, 81.66, 298.23°)
OKLaboklab(54.51% 0.0127 -0.2074)
OKLCHoklch(54.51% 0.208 273.5)
XYZxyz(21.2437, 14.8557, 76.5955)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BE6 #E6DA4F
analogous
#4FA6E6 #4F5BE6 #8E4FE6
triadic
#4F5BE6 #E64F5B #5BE64F
tetradic
#4F5BE6 #E64FA6 #E6DA4F #4FE68E
square
#4F5BE6 #E64FA6 #E6DA4F #4FE68E
split-complementary
#4F5BE6 #E68E4F #A6E64F
monochromatic
#1722A3 #1F2ED9 #4F5BE6 #858DEE #BABFF5

Accessibility & contrast

On white

5.29
#4F5BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4F5BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BE6
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BE6#FFFFFF#000000##FFFFFF
##4F5BE61.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f5be6;
/* rgb */ color: rgb(79, 91, 230);
/* oklch */ color: oklch(54.5% 0.208 273.5);
Tailwind
colors: {
  custom: {
    50: '#9189ef',
    500: '#4f5be6',
    950: '#000000',
  },
}
SCSS
$custom: #4f5be6;
$custom-light: #9189ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5be6",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 235.232,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54505,
    "c": 0.20777,
    "h": 273.5
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#4F5BE6
secondary
#E5E1AC
accent
#C70ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F5BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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