#4F58E0#4F58E0

#4F58E0 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.5% C 0.204 H 274.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4F58E0
RGBrgb(79, 88, 224)
HSLhsl(236, 70%, 59%)
HSVhsv(236, 65%, 88%)
CMYKcmyk(64.7%, 60.7%, 0%, 12.2%)
CIE-LABlab(44.26, 38.45, -70.46)
CIE-LCHlch(44.26, 80.27, 298.62°)
OKLaboklab(53.5% 0.0153 -0.203)
OKLCHoklch(53.5% 0.204 274.3)
XYZxyz(20.1643, 14.0218, 72.1504)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58E0 #E0D74F
analogous
#4FA1E0 #4F58E0 #8F4FE0
triadic
#4F58E0 #E04F58 #58E04F
tetradic
#4F58E0 #E04FA1 #E0D74F #4FE08F
square
#4F58E0 #E04FA1 #E0D74F #4FE08F
split-complementary
#4F58E0 #E08F4F #A1E04F
monochromatic
#1B239A #242FCE #4F58E0 #8389E9 #B7BBF2

Accessibility & contrast

On white

5.52
#4F58E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4F58E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58E0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58E0#FFFFFF#000000##FFFFFF
##4F58E01.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0062DD
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f58e0;
/* rgb */ color: rgb(79, 88, 224);
/* oklch */ color: oklch(53.5% 0.204 274.3);
Tailwind
colors: {
  custom: {
    50: '#9087eb',
    500: '#4f58e0',
    950: '#000000',
  },
}
SCSS
$custom: #4f58e0;
$custom-light: #9087eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58e0",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 224
  },
  "hsl": {
    "h": 236.276,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.2036,
    "h": 274.3
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#4F58E0
secondary
#E2DEA9
accent
#E23BED
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F58E0

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

Preview Lab → · Contrast checker → · Palette generator →

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