#4F5FE8#4F5FE8

#4F5FE8 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.4% C 0.206 H 272.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4F5FE8
RGBrgb(79, 95, 232)
HSLhsl(234, 77%, 61%)
HSVhsv(234, 66%, 91%)
CMYKcmyk(65.9%, 59.1%, 0%, 9%)
CIE-LABlab(46.54, 36.86, -71.28)
CIE-LCHlch(46.54, 80.24, 297.34°)
OKLaboklab(55.37% 0.0095 -0.2054)
OKLCHoklch(55.37% 0.206 272.7)
XYZxyz(21.8773, 15.6709, 78.2001)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FE8 #E8D84F
analogous
#4FACE8 #4F5FE8 #8B4FE8
triadic
#4F5FE8 #E84F5F #5FE84F
tetradic
#4F5FE8 #E84FAC #E8D84F #4FE88B
square
#4F5FE8 #E84FAC #E8D84F #4FE88B
split-complementary
#4F5FE8 #E88B4F #ACE84F
monochromatic
#1625A7 #1D31DD #4F5FE8 #8590EF #BBC1F6

Accessibility & contrast

On white

5.08
#4F5FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4F5FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FE8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FE8#FFFFFF#000000##FFFFFF
##4F5FE81.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f5fe8;
/* rgb */ color: rgb(79, 95, 232);
/* oklch */ color: oklch(55.4% 0.206 272.7);
Tailwind
colors: {
  custom: {
    50: '#918cf0',
    500: '#4f5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fe8;
$custom-light: #918cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fe8",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 233.725,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55369,
    "c": 0.2056,
    "h": 272.7
  },
  "luminance": 0.15673
}

Semantic roles & 50–950 ramp

primary
#4F5FE8
secondary
#E6E0AD
accent
#C40CD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4F5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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