#4F5FE5#4F5FE5

#4F5FE5 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.1% C 0.202 H 272.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4F5FE5
RGBrgb(79, 95, 229)
HSLhsl(234, 74%, 60%)
HSVhsv(234, 66%, 90%)
CMYKcmyk(65.5%, 58.5%, 0%, 10.2%)
CIE-LABlab(46.31, 35.84, -69.95)
CIE-LCHlch(46.31, 78.60, 297.13°)
OKLaboklab(55.13% 0.0096 -0.2015)
OKLCHoklch(55.13% 0.202 272.7)
XYZxyz(21.4548, 15.5019, 75.9751)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FE5 #E5D54F
analogous
#4FAAE5 #4F5FE5 #8A4FE5
triadic
#4F5FE5 #E54F5F #5FE54F
tetradic
#4F5FE5 #E54FAA #E5D54F #4FE58A
square
#4F5FE5 #E54FAA #E5D54F #4FE58A
split-complementary
#4F5FE5 #E58A4F #AAE54F
monochromatic
#1827A2 #2033D7 #4F5FE5 #848FED #BAC0F5

Accessibility & contrast

On white

5.12
#4F5FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4F5FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FE5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FE5#FFFFFF#000000##FFFFFF
##4F5FE51.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#008099
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f5fe5;
/* rgb */ color: rgb(79, 95, 229);
/* oklch */ color: oklch(55.1% 0.202 272.7);
Tailwind
colors: {
  custom: {
    50: '#908cee',
    500: '#4f5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fe5;
$custom-light: #908cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fe5",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 233.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55131,
    "c": 0.20171,
    "h": 272.7
  },
  "luminance": 0.15504
}

Semantic roles & 50–950 ramp

primary
#4F5FE5
secondary
#E5DEAB
accent
#C10FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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