#4F5FE6#4F5FE6

#4F5FE6 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.2% C 0.203 H 272.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4F5FE6
RGBrgb(79, 95, 230)
HSLhsl(234, 75%, 61%)
HSVhsv(234, 66%, 90%)
CMYKcmyk(65.7%, 58.7%, 0%, 9.8%)
CIE-LABlab(46.39, 36.18, -70.40)
CIE-LCHlch(46.39, 79.15, 297.20°)
OKLaboklab(55.21% 0.0095 -0.2028)
OKLCHoklch(55.21% 0.203 272.7)
XYZxyz(21.5948, 15.5579, 76.7125)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FE6 #E6D64F
analogous
#4FABE6 #4F5FE6 #8A4FE6
triadic
#4F5FE6 #E64F5F #5FE64F
tetradic
#4F5FE6 #E64FAB #E6D64F #4FE68A
square
#4F5FE6 #E64FAB #E6D64F #4FE68A
split-complementary
#4F5FE6 #E68A4F #ABE64F
monochromatic
#1726A3 #1F33D9 #4F5FE6 #8590EE #BAC0F5

Accessibility & contrast

On white

5.11
#4F5FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4F5FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FE6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FE6#FFFFFF#000000##FFFFFF
##4F5FE61.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5fe6;
/* rgb */ color: rgb(79, 95, 230);
/* oklch */ color: oklch(55.2% 0.203 272.7);
Tailwind
colors: {
  custom: {
    50: '#918cef',
    500: '#4f5fe6',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fe6;
$custom-light: #918cef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fe6",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 233.642,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5521,
    "c": 0.203,
    "h": 272.7
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#4F5FE6
secondary
#E5DFAC
accent
#C20ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4F5FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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