#4F5EE6#4F5EE6

#4F5EE6 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.0% C 0.204 H 272.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4F5EE6
RGBrgb(79, 94, 230)
HSLhsl(234, 75%, 61%)
HSVhsv(234, 66%, 90%)
CMYKcmyk(65.7%, 59.1%, 0%, 9.8%)
CIE-LABlab(46.15, 36.79, -70.79)
CIE-LCHlch(46.15, 79.78, 297.46°)
OKLaboklab(55.03% 0.0104 -0.2039)
OKLCHoklch(55.03% 0.204 272.9)
XYZxyz(21.5053, 15.3789, 76.6827)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EE6 #E6D74F
analogous
#4FA9E6 #4F5EE6 #8C4FE6
triadic
#4F5EE6 #E64F5E #5EE64F
tetradic
#4F5EE6 #E64FA9 #E6D74F #4FE68C
square
#4F5EE6 #E64FA9 #E6D74F #4FE68C
split-complementary
#4F5EE6 #E68C4F #A9E64F
monochromatic
#1725A3 #1F31D9 #4F5EE6 #858FEE #BAC0F5

Accessibility & contrast

On white

5.15
#4F5EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4F5EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5EE6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5EE6#FFFFFF#000000##FFFFFF
##4F5EE61.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5ee6;
/* rgb */ color: rgb(79, 94, 230);
/* oklch */ color: oklch(55.0% 0.204 272.9);
Tailwind
colors: {
  custom: {
    50: '#918bef',
    500: '#4f5ee6',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ee6;
$custom-light: #918bef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ee6",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 234.04,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.2042,
    "h": 272.9
  },
  "luminance": 0.15381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F5EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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