#4F58D7#4F58D7

#4F58D7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.192 H 274.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4F58D7
RGBrgb(79, 88, 215)
HSLhsl(236, 63%, 58%)
HSVhsv(236, 63%, 84%)
CMYKcmyk(63.3%, 59.1%, 0%, 15.7%)
CIE-LABlab(43.58, 35.44, -66.45)
CIE-LCHlch(43.58, 75.31, 298.07°)
OKLaboklab(52.77% 0.0155 -0.1913)
OKLCHoklch(52.77% 0.192 274.6)
XYZxyz(18.9759, 13.5464, 65.8915)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58D7 #D7CE4F
analogous
#4F9CD7 #4F58D7 #8A4FD7
triadic
#4F58D7 #D74F58 #58D74F
tetradic
#4F58D7 #D74F9C #D7CE4F #4FD78A
square
#4F58D7 #D74F9C #D7CE4F #4FD78A
split-complementary
#4F58D7 #D78A4F #9CD74F
monochromatic
#20278C #2B35BE #4F58D7 #8187E2 #B3B7EE

Accessibility & contrast

On white

5.66
#4F58D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4F58D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58D7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58D7#FFFFFF#000000##FFFFFF
##4F58D71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f58d7;
/* rgb */ color: rgb(79, 88, 215);
/* oklch */ color: oklch(52.8% 0.192 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e87e4',
    500: '#4f58d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f58d7;
$custom-light: #8e87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58d7",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 236.029,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52772,
    "c": 0.19189,
    "h": 274.6
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#4F58D7
secondary
#DCD9A6
accent
#DB42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F58D7

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

Preview Lab → · Contrast checker → · Palette generator →

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