#4F5BEC#4F5BEC

#4F5BEC is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.0% C 0.215 H 273.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4F5BEC
RGBrgb(79, 91, 236)
HSLhsl(235, 81%, 62%)
HSVhsv(235, 67%, 93%)
CMYKcmyk(66.5%, 61.4%, 0%, 7.5%)
CIE-LABlab(45.90, 40.63, -74.57)
CIE-LCHlch(45.90, 84.92, 298.59°)
OKLaboklab(55% 0.0125 -0.2151)
OKLCHoklch(55% 0.215 273.3)
XYZxyz(22.1008, 15.1985, 81.1095)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BEC #ECE04F
analogous
#4FAAEC #4F5BEC #924FEC
triadic
#4F5BEC #EC4F5B #5BEC4F
tetradic
#4F5BEC #EC4FAA #ECE04F #4FEC92
square
#4F5BEC #EC4FAA #ECE04F #4FEC92
split-complementary
#4F5BEC #EC924F #AAEC4F
monochromatic
#131FAE #1928E5 #4F5BEC #868EF2 #BDC2F8

Accessibility & contrast

On white

5.20
#4F5BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4F5BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BEC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BEC#FFFFFF#000000##FFFFFF
##4F5BEC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0066E9
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f5bec;
/* rgb */ color: rgb(79, 91, 236);
/* oklch */ color: oklch(55.0% 0.215 273.3);
Tailwind
colors: {
  custom: {
    50: '#9289f3',
    500: '#4f5bec',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bec;
$custom-light: #9289f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bec",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 235.414,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54997,
    "c": 0.21543,
    "h": 273.3
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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