#4F59E6#4F59E6

#4F59E6 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.210 H 273.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4F59E6
RGBrgb(79, 89, 230)
HSLhsl(236, 75%, 61%)
HSVhsv(236, 66%, 90%)
CMYKcmyk(65.7%, 61.3%, 0%, 9.8%)
CIE-LABlab(44.97, 39.84, -72.71)
CIE-LCHlch(44.97, 82.91, 298.72°)
OKLaboklab(54.16% 0.0143 -0.2096)
OKLCHoklch(54.16% 0.21 273.9)
XYZxyz(21.0750, 14.5183, 76.5392)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F59E6 #E6DC4F
analogous
#4FA5E6 #4F59E6 #904FE6
triadic
#4F59E6 #E64F59 #59E64F
tetradic
#4F59E6 #E64FA5 #E6DC4F #4FE690
square
#4F59E6 #E64FA5 #E6DC4F #4FE690
split-complementary
#4F59E6 #E6904F #A5E64F
monochromatic
#1720A3 #1F2BD9 #4F59E6 #858CEE #BABEF5

Accessibility & contrast

On white

5.38
#4F59E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4F59E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F59E6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F59E6#FFFFFF#000000##FFFFFF
##4F59E61.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f59e6;
/* rgb */ color: rgb(79, 89, 230);
/* oklch */ color: oklch(54.2% 0.210 273.9);
Tailwind
colors: {
  custom: {
    50: '#9188ef',
    500: '#4f59e6',
    950: '#000000',
  },
}
SCSS
$custom: #4f59e6;
$custom-light: #9188ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f59e6",
  "rgb": {
    "r": 79,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 236.026,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.21013,
    "h": 273.9
  },
  "luminance": 0.1452
}

Semantic roles & 50–950 ramp

primary
#4F59E6
secondary
#E5E1AC
accent
#CA0ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F59E6

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

Preview Lab → · Contrast checker → · Palette generator →

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